N

n8n CLI

CLI discovered

Details
Command
n8n-cli
Docs
https://docs.n8n.io/connect/n8n-cli
Authentication
n8n API key api_key discovered Get key ↗
$ n8n-cli config set-api-key YOUR_API_KEY

Log in to your n8n instance, then go to Settings > n8n API and select Create an API key. Choose a label and expiration; on Enterprise you can also choose scopes. Copy My API Key and use it in API calls or CLI config. Docs: Authentication.