Keeping your n8n installation up to date ensures access to the latest features, improvements, and security patches. If you’re running n8n via Docker Compose, follow these simple steps via SSH to update your instance:
Access your VPS through a browser terminal:
Pull the latest version of the n8n image:
docker compose pull
Stop and remove the currently running containers:
docker compose down
Start n8n with the updated image:
docker compose up -d
That’s it! Your n8n instance should now be running the latest version. You can verify the version by accessing the n8n dashboard