DEV Community

Cover image for Install any version of NodeJS into your Linux system with 4 easy steps
Shawon Saha
Shawon Saha

Posted on • Edited on

Install any version of NodeJS into your Linux system with 4 easy steps

  1. Go to https://nodejs.org/en/download/releases/ and Choose your prefered version

  2. Right click on node-vxx.xx.x-linux-x64.tar.gz and copy the link. Make sure the extention is tar.gz
    NodeJS Other release page

  3. Open terminal and type wget <url that you've copied>
    It will download NodeJs tarball into your system.
    NodeJS installation guide on linux

  4. After completion of download, run this command

sudo tar -C /usr/local --strip-components 1 -xzf node-vxx.xx.x-linux-x64.tar.gz
Enter fullscreen mode Exit fullscreen mode

Replace 'x' with your downloaded package's version

NodeJS installation guide on linux

Now run node -v
if it show your desired version then congratulations.

Checking nodeJS verions on linux

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay