n8n/packages/cli/README.md

153 lines
5.1 KiB
Markdown
Raw Normal View History

![n8n.io - Workflow Automation](https://user-images.githubusercontent.com/65276001/173571060-9f2f6d7b-bac0-43b6-bdb2-001da9694058.png)
2019-06-23 03:35:23 -07:00
# n8n - Workflow Automation Tool
2019-06-23 03:35:23 -07:00
n8n is a free and open [fair-code](http://faircode.io) distributed node-based Workflow Automation Tool. You can self-host n8n, easily extend it, and even use it with internal tools.
2019-06-23 03:35:23 -07:00
2022-05-17 01:54:13 -07:00
<a href="https://raw.githubusercontent.com/n8n-io/n8n/master/assets/n8n-screenshot.png"><img src="https://raw.githubusercontent.com/n8n-io/n8n/master/assets/n8n-screenshot.png" alt="n8n.io - Screenshot"></a>
2019-06-23 11:56:42 -07:00
2019-08-21 14:14:08 -07:00
## Contents
<!-- TOC -->
2019-08-21 14:14:08 -07:00
- [Demo](#demo)
- [Getting Started](#getting-started)
- [Use npx](#use-npx)
- [Run with Docker](#run-with-docker)
- [Install with npm](#install-with-npm)
- [Sign-up on n8n.cloud](#sign-up-on-n8n.cloud)
- [Available integrations](#available-integrations)
2019-09-22 09:29:03 -07:00
- [Documentation](#documentation)
2019-08-21 14:14:08 -07:00
- [Create Custom Nodes](#create-custom-nodes)
- [Contributing](#contributing)
2019-08-21 14:14:08 -07:00
- [What does n8n mean and how do you pronounce it](#what-does-n8n-mean-and-how-do-you-pronounce-it)
2019-09-09 12:46:42 -07:00
- [Support](#support)
2020-02-13 22:49:38 -08:00
- [Jobs](#jobs)
- [Upgrading](#upgrading)
2019-08-21 14:14:08 -07:00
- [License](#license)
<!-- /TOC -->
2019-06-23 03:35:23 -07:00
## Demo
📺 Here's a [:tv: short video (< 4 min)](https://www.youtube.com/watch?v=RpjQTGKm-ok) that goes over key concepts of creating workflows in n8n.
## Getting Started
2019-06-23 03:35:23 -07:00
There are a couple of ways to get started with n8n.
### Use npx
To spin up n8n using npx, you can run:
```bash
npx n8n
```
2019-06-23 03:35:23 -07:00
It will download everything that is needed to start n8n.
2019-06-23 03:35:23 -07:00
You can then access n8n by opening:
[http://localhost:5678](http://localhost:5678)
**Note:** The minimum required version for Node.js is v14.15. Make sure to update Node.js to v14.15 or above.
### Run with Docker
2019-06-24 04:21:58 -07:00
To play around with n8n, you can also start it using Docker:
2019-06-24 04:21:58 -07:00
```bash
docker run -it --rm \
--name n8n \
-p 5678:5678 \
docker.n8n.io/n8nio/n8n
```
2019-06-24 04:21:58 -07:00
Be aware that all the data will be lost once the Docker container gets removed. To persist the data mount the `~/.n8n` folder:
```bash
docker run -it --rm \
--name n8n \
-p 5678:5678 \
-v ~/.n8n:/home/node/.n8n \
docker.n8n.io/n8nio/n8n
```
Refer to the [documentation](https://github.com/n8n-io/n8n/blob/master/docker/images/n8n/README.md) for more information on the Docker setup.
### Install with npm
To install n8n globally using npm:
```bash
npm install n8n -g
```
2019-08-09 08:11:41 -07:00
After the installation, start n8n running the following command:
2019-08-09 08:11:41 -07:00
```bash
n8n
# or
n8n start
```
2019-08-09 08:11:41 -07:00
### Sign-up on n8n.cloud
2019-08-09 08:11:41 -07:00
Sign-up for an [n8n.cloud](https://www.n8n.cloud/) account.
2019-09-09 12:46:42 -07:00
While n8n.cloud and n8n are the same in terms of features, n8n.cloud provides certain conveniences such as:
- Not having to set up and maintain your n8n instance
- Managed OAuth for authentication
- Easily upgrading to the newer n8n versions
2019-09-09 12:46:42 -07:00
## Available integrations
2019-09-09 12:46:42 -07:00
n8n has 280+ different nodes that allow you to connect various services and build your automation workflows. You can find the list of all the integrations at [https://n8n.io/integrations](https://n8n.io/integrations)
2019-09-09 12:46:42 -07:00
## Documentation
2019-08-09 08:11:41 -07:00
To learn more about n8n, refer to the official documentation here: [https://docs.n8n.io](https://docs.n8n.io)
2020-02-13 22:49:38 -08:00
You can find additional information and example workflows on the [n8n.io](https://n8n.io) website.
2020-02-13 22:49:38 -08:00
## Create Custom Nodes
You can create custom nodes for n8n. Follow the instructions mentioned in the documentation to create your node: [Creating nodes](https://docs.n8n.io/integrations/creating-nodes/build/)
## Contributing
🐛 Did you find a bug?
✨ Do you want to contribute a feature?
The [CONTRIBUTING guide](https://github.com/n8n-io/n8n/blob/master/CONTRIBUTING.md) will help you set up your development environment.
You can find more information on how you can contribute to the project on our documentation: [How can I contribute?](https://docs.n8n.io/reference/contributing.html)
## What does n8n mean, and how do you pronounce it?
2019-06-23 03:35:23 -07:00
**Short answer:** n8n is an abbreviation for "nodemation", and it is pronounced as n-eight-n.
2019-06-23 03:35:23 -07:00
**Long answer:** In n8n, you build your automation ("-mation") workflows by connecting different nodes in the Editor UI. The project is also built using Node.js. As a consequence, the project was named nodemation.
However, the name was long, and it wouldn't be a good idea to use such a long name in the CLI. Hence, nodemation got abbreviated as "n8n" (there are eight characters between the first and the last n!).
## Support
If you run into issues or have any questions reach out to us via our community forum: [https://community.n8n.io](https://community.n8n.io).
## Jobs
If you are interested in working at n8n and building the project, check out the [job openings](https://apply.workable.com/n8n/).
## Upgrading
Before you upgrade to the latest version, make sure to check the changelogs: [Changelog](https://docs.n8n.io/reference/changelog.html)
You can also find breaking changes here: [Breaking Changes](./BREAKING-CHANGES.md)
## License
2019-06-23 03:35:23 -07:00
n8n is [fair-code](http://faircode.io) distributed under the [**Sustainable Use License**](https://github.com/n8n-io/n8n/blob/master/packages/cli/LICENSE.md).
2019-06-23 03:35:23 -07:00
Additional information about the license can be found in the [docs](https://docs.n8n.io/reference/license/).