> For the complete documentation index, see [llms.txt](https://docs.n8n.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.n8n.io/deploy/host-n8n/install-options.md).

# Install options

Compare ways to install self-hosted n8n, including one-line setup, Docker, Docker Compose, npm, and cloud providers.

Compare ways to install self-hosted n8n.

## In this section

* [One-line setup](/deploy/host-n8n/install-options/one-line-setup.md): install n8n from the command line using a one-line setup.
* [Install using Docker Compose](/deploy/host-n8n/install-options/install-using-docker-compose.md): build a Docker Compose setup for self-hosted n8n.
* [Install with npm](/deploy/host-n8n/install-options/install-with-npm.md): install n8n directly using Node Package Manager.
* [Install with Docker](/deploy/host-n8n/install-options/install-with-docker.md): install and run n8n using Docker.
* [Use a cloud provider](/deploy/host-n8n/install-options/use-a-cloud-provider.md): deploy self-hosted n8n to DigitalOcean, AWS, Azure, Google Cloud, and more.

## Related resources

* [Host n8n](/deploy/host-n8n.md)
* [Configure n8n](/deploy/host-n8n/configure-n8n.md)
* [Keep n8n running](/deploy/host-n8n/keep-n8n-running.md)
* [Understand the architecture](/deploy/host-n8n/understand-the-architecture.md)
* [Deploy as an OEM integration](/deploy/host-n8n/deploy-as-an-oem-integration.md)
* [Deploy with the AI starter kit](/deploy/host-n8n/deploy-with-the-ai-starter-kit.md)
* [Compare editions](/deploy/host-n8n/community-edition-features.md)
