Remote script. The get.n8n.io install script runs code fetched from the internet; the docker run command is the transparent alternative.
Who it is forAnyone who wants workflow automation without per-task cloud pricing or sending data to a third party.
The problemHosted automation tools charge per run and keep your credentials on their servers.
The outcomeThe n8n editor running at localhost:5678 with your workflows saved in a Docker volume.
What you need first
- Docker for the self-hosted quick start
- Accounts or API keys for the apps and models you connect
Steps
- Install Docker
- Create a volume:
docker volume create n8n_data - Start n8n:
docker run -it --rm --name n8n -p 5678:5678 -v n8n_data:/home/node/.n8n docker.n8n.io/n8nio/n8n - Open the editor at http://localhost:5678 and create the owner account
- Or use the install script
curl -fsSL https://get.n8n.io | sh
Prompt for your agent
Self-host n8n-io/n8n with Docker on this machine using a named volume, confirm the editor loads on port 5678, and tell me how to back up the n8n_data volume.
Caveat.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for n8n-io/n8n and "Self-host n8n with Docker in 5 minutes"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer