Etheron Hosting

How do I install Node.js on my VPS?

Terug naar VPS

How do I install Node.js on my VPS?

Here's how to install Node.js on your (linux) VPS.

Here's how to install Node.js on your (linux) VPS.

We’ll be using VNC in this guide. Don’t know how? Check out this article.

  1. Go to your VPS panel and log in.

  2. Click on Manage for the desired (Linux) server.

image

  1. Make sure your VPS is running and then click on the VNC logo.

image

  1. Log in.

Your username is likely "root," and your password can be found in your email.

image

  1. In the VPS console, type the following command and then press ENTER:

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash

image

  1. Restart your VPS by typing the following command in the terminal and pressing ENTER:

reboot

image

  1. Log back into your VPS.

  2. Once the VPS is back online, type the following command to install the desired version of Node.js:

**nvm install (version)**At the time of writing, the latest version is 22, so you would type: nvm install 22

image

  1. Node.js is now installed!

Check if Node.js is installed by typing: node -v

image

Check if npm is installed by typing:** npm -v**

image

If you encounter any issues, feel free to reach out via Discord or create a support ticket through this link.

Lars Volkers
Bijgewerkt op: 13-03-2026
Was dit artikel nuttig?