---
title: "Discussion on \"n8n 3.0: migrate from npm to Docker without losing workflows\" | Hashnode"
description: "Discussion on \"n8n 3.0: migrate from npm to Docker without losing workflows\". Self-hosted n8n 3.0 requires Docker. If you run n8n with npm or npx n8n, migrate n8n from npm to Docker before you upgrade: the same version, the ~/.n8n folder mounted at /home/node/.n8n, and the same"
url: "https://hashnode.com/posts/migrate-n8n-npm-to-docker-n8n-3/6b0ebde569ca73b429b77481"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [n8n 3.0: migrate from npm to Docker without losing workflows](https://nuvits.hashnode.dev/migrate-n8n-npm-to-docker-n8n-3?utm_source=hashnode&utm_medium=feed)

Self-hosted n8n 3.0 requires Docker. If you run n8n with npm or npx n8n, migrate n8n from npm to Docker before you upgrade: the same version, the ~/.n8n folder mounted at /home/node/.n8n, and the same

11h ago · 15 min read · nuvits.hashnode.dev  
Read the article

-   [#n8n](https://hashnode.com/tag/n8n)
-   [#docker](https://hashnode.com/tag/docker)
-   [#vps](https://hashnode.com/tag/vps)
-   [#linux](https://hashnode.com/tag/linux)

## Written by

[Fernando Chagas](https://hashnode.com/@fernandochagas)

@fernandochagas

  
[View profile](https://hashnode.com/@fernandochagas)

Building Nuvits: VPS in Brazilian reais and MCP for AI agents

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
