Files
n8n-enterprise-unlocked/packages/@n8n/node-cli

@n8n/node-cli

Official CLI for developing community nodes for n8n.

Features

  • 🔧 Scaffold new n8n nodes
  • 💻 Develop n8n nodes with live preview

Installation

Run directly via npx:

npx n8n-node new

Or install globally:

npm install -g @n8n/node-cli
n8n-node new

Commands

Create a node

n8n-node new   # Scaffold a new node

Build a node

n8n-node build   # Build your node; should be ran in the root of your custom node

Develop a node

n8n-node dev  # Develop your node with hot reloading; should be ran in the root of your custom node

@n8n/create-node: Lightweight wrapper to support npm create @n8n/node