mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-27 22:20:53 +00:00
48 lines
708 B
Markdown
48 lines
708 B
Markdown
# @n8n/node-cli
|
|
|
|
Official CLI for developing community nodes for [n8n](https://n8n.io).
|
|
|
|
## Features
|
|
|
|
- 🔧 Scaffold new nodes
|
|
- More coming soon
|
|
|
|
## Installation
|
|
|
|
Run directly via `npx`:
|
|
|
|
```bash
|
|
npx n8n-node new
|
|
```
|
|
|
|
Or install globally:
|
|
|
|
```bash
|
|
npm install -g @n8n/node-cli
|
|
n8n-node new
|
|
```
|
|
|
|
## Commands
|
|
|
|
## Create a node
|
|
|
|
```bash
|
|
n8n-node new # Scaffold a new node
|
|
```
|
|
|
|
## Build a node
|
|
|
|
```bash
|
|
n8n-node build # Build your node; should be ran in the root of your custom node
|
|
```
|
|
|
|
## Develop a node
|
|
|
|
```bash
|
|
n8n-node dev # Develop your node with hot reloading; should be ran in the root of your custom node
|
|
```
|
|
|
|
## Related
|
|
|
|
`@n8n/create-node`: Lightweight wrapper to support `npm create @n8n/node`
|