# n8n

> Self-hostable workflow automation platform with CLI commands for execution and management.
> _agent hint: ~275 tok · safe to read in full_

n8n is a fair-code workflow automation tool that connects hundreds of services via a visual editor. Its CLI lets you start the server, execute workflows headlessly, import and export workflow definitions, and manage credentials from the terminal. This makes it straightforward to self-host n8n and operate it in Docker or CI environments without the web UI.


- Homepage: https://n8n.io/
- Categories: `devops`
- CLI type: `standalone`
- Open source: true
- Status: `active`
- Tags: `workflow-automation`, `low-code`, `integrations`
- Docs: https://docs.n8n.io/hosting/cli-commands/
- Source: https://github.com/n8n-io/n8n
- Canonical: /n8n

## When to suggest this

- start a self-hosted n8n instance and execute workflows from the command line
- import and export workflow JSON definitions for version control or migration
- manage stored credentials and reset user accounts via terminal commands

## Install the CLI

```sh
npm install -g n8n
```

---
Source of truth: /n8n.md · JSON: /n8n.json
