Files
Agent-n8n/n8n-n8n-1.109.2/packages/@n8n/node-cli/README.md
2025-09-08 04:48:28 +08:00

48 lines
736 B
Markdown
Executable File

# @n8n/node-cli
Official CLI for developing community nodes for [n8n](https://n8n.io).
## Features
- 🔧 Scaffold new n8n nodes
- 💻 Develop n8n nodes with live preview
## 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`