2019-09-22 09:29:03 -07:00
# Quick Start
## Give n8n a spin
2020-04-15 06:36:15 -07:00
To spin up n8n, you can run:
2019-09-22 09:29:03 -07:00
```bash
npx n8n
```
2020-04-15 06:36:15 -07:00
It will download everything that is needed to start n8n.
2019-09-22 09:29:03 -07:00
You can then access n8n by opening:
[http://localhost:5678 ](http://localhost:5678 )
## Start with docker
2020-04-15 06:36:15 -07:00
To play around with n8n, you can also start it using docker:
2019-09-22 09:29:03 -07:00
```bash
docker run -it --rm \
--name n8n \
-p 5678:5678 \
n8nio/n8n
```
2020-04-15 06:36:15 -07:00
Be aware that all the data will be lost once the docker container gets removed. To
2019-09-22 09:29:03 -07:00
persist the data mount the `~/.n8n` folder:
```bash
docker run -it --rm \
--name n8n \
-p 5678:5678 \
-v ~/.n8n:/root/.n8n \
n8nio/n8n
```
2020-04-15 06:36:15 -07:00
More information about the Docker setup can be found in the README file of the
[Docker Image ](https://github.com/n8n-io/n8n/blob/master/docker/images/n8n/README.md ).
2020-04-21 07:03:19 -07:00
In case you run into issues, check out the [troubleshooting ](troubleshooting.md ) page or ask for help in the community [forum ](https://community.n8n.io/ ).