How to Change n8n Version Numbers on Hostinger VPS
December 23, 2025 · Mike Murphy
In this tutorial, you will learn how to manually set, roll back, or "pin" the version of n8n on your self-hosted Hostinger Virtual Private Server (VPS) using the VPS Dashboard & Terminal/SSH.
Description
In this tutorial, you will learn how to manually set, roll back, or “pin” the version of n8n on your self-hosted Hostinger Virtual Private Server (VPS) using the VPS Dashboard & Terminal/SSH.
What You Will Learn:
• How to locate current n8n version number
• How to find n8n version numbers on GitHub
• How to edit docker-compose YAML file in VPS Dashboard
• How to set n8n version number & Deploy Docker containers
• How to use the Terminal and Nano editor to change n8n version numbers.
• How to “pin” a version to prevent it from updating, and how to revert to the “latest” image.
Docker Commands:
docker compose pull (pulls latest image)
docker compose down (stop & remove container)
docker compose up -d (create &start new container)
📌 Links
n8n GitHub: https://github.com/n8n-io/n8n
Hostinger & n8n: https://www.hostg.xyz/SHIDN
🕒 Timestamps
00:00 Intro: About The Tutorial
00:26 Why Change Version Number?
01:29 How to check version number of n8n
01:58 GitHub Releases
02:30 Method 1: VPS Dashboard
02:54 Edit docker-compose.yml File
03:18 Updating n8n Docker Commands
03:52 Add n8n Version Number
04:54 Deploy Button
05:32 Confirm n8n Version Number
06:00 Pin Version Number
06:50 Method 2: VPS Terminal
08:14 Edit in Nano Editor
09:17 Write Out + Exit Nano
09:47 Docker Compose Down & Up
10:37 Dashboard = Terminal Docker-Compose
11:29 Practice Run #2: Terminal
13:59 Recap: Change n8n Versions
🪜What You Will Learn:
Method 1: Change n8n Version (VPS Dashboard):
- Open n8n in browser
- Click Settings…About n8n…Check Version
- Go to n8n GitHub & Click Releases and select version number
- Sign in to Hostinger VPS Dashboard
- Go to Docker Manager and click ‘Manage’
- Select the YAML editor
- Find the n8n image line and add :version number at the end of the line
- Scroll to the top and click Deploy to run Docker down & Docker up
- Return to n8n to confirm version number changed.
Method 2: Change n8n Version (VPS Terminal):
- Open VPS Terminal and ensure you are in the n8n directory (root)
- Type pwd to confirm directory
- Type ls to list files and confirm docker-compose.yml file is listed
- Enter nano docker-compose.yml to edit in Nano Editory
- file is located (use the
lscommand to confirm). - Use the arrow keys to find the n8n image line
- Add colon + version tag at the end,
- Press Ctrl+O to Write Out (Save)
- Press Enter to Commit (Write Out)
- Enter Ctrl+X to exit Nano
- Run docker compose down to stop and remove n8n container
- Run docker compose up -d to spin up new n8n container
- Return to n8n & refresh browser to confirm changes
- ‘Pin’ (keep) version number to keep the same version
- Remove version number to pull latest versions of n8n