How to Install n8n and Build Your First Automated Workflow

n8n is a free, open-source workflow automation platform with more than 400 integrations. This guide explains what it can do and how to install it in minutes, either as a plugin or with a single command.
What is n8n?
n8n is a free, open-source workflow automation platform. It gives you a visual canvas where you connect apps and services into automated workflows, and it has AI features built in, with more than 400 integrations. Instead of writing scripts for routine jobs, you drag nodes onto a canvas, link them together, and let the workflow run on its own. The project is developed openly on GitHub, where you can read the source code and the README.
What can you do with n8n?
The core idea is simple: when something happens in one app, n8n does something in another.
- Send a message to your team chat whenever a form is submitted
- Save email attachments to cloud storage automatically
- Add an AI step that summarises text or drafts a reply before a message goes out
- Sync data between a spreadsheet, a CRM and a database
You can run n8n on your own server or use its hosted cloud version, and the visual editor means you can build useful automations without writing much code. AI steps can be added wherever a decision or a piece of writing is needed.
How to install n8n
There are two ways to install it. The first adds n8n as a plugin inside Claude Code, and it is the recommended route if you already use that tool. Open Claude Code, paste the following line into the chat box, not the terminal, and press Enter:
/plugin marketplace add n8n-io/n8nThen paste this second line into the same chat and press Enter:
/plugin install n8n@n8nThat is all. The AI inside Claude Code can then work with n8n.
The second way installs n8n on your own machine for use with other editors such as Cursor, Windsurf or Codex. Run this command in a terminal:
curl -fsSL https://get.n8n.io | shThis command needs bash. On Windows, run it in Git Bash or WSL. Do not use PowerShell or CMD, which do not have bash, or the install will fail. On macOS or Linux, run it in a normal terminal.
First steps after installing
Once it is running, open the n8n editor and try a small workflow first. Pick a trigger, such as a new row in a spreadsheet or a message in a form, and connect it to one action, such as sending an email or saving a file. Run it once by hand to check the result, then turn the workflow on so it runs automatically. When you are comfortable, add an AI node to handle a step that needs judgement, such as summarising or classifying text.
Frequently asked questions
Is n8n free? Yes. It is an open-source project on GitHub, and you can download and use it free of charge.
Is it hard to install? No. Either route above is a single command or two pasted lines.
How do I uninstall it? The project's README does not give uninstall steps, so check the README on the project's GitHub page for the exact removal instructions.
Comments (0)