1:Install n8n using npm

1
npm install n8n -g

2:When you are ready to test your node, publish it locally

1
2
npm run build
npm link

3:Install the node into your local n8n instance

1
2
3
# In the nodes directory within your n8n installation
# node-package-name is the name from the package.json
npm link <node-package-name>

Start n8n

1
n8n start

n8n 官方文档页面