DEV Community

Eze Sugar 👩‍💻
Eze Sugar 👩‍💻

Posted on

How to install Node Lts version on your ubuntu

To download and install LTS version of Node.js on Ubuntu 18, 20, 24 or any versions above, follow these steps:

Update Package index:
sudo apt update
Install Node.js LTS version using curl:
curl -sL https://deb.nodesource.com/setup_lts.x | sudo -E bash -
Install Node.js:
sudo apt-get install -y nodejs
Verify the installation by checking the Node.js version:
node -v

If you find this helpful, please follow and like

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Engage with a sea of insights in this enlightening article, highly esteemed within the encouraging DEV Community. Programmers of every skill level are invited to participate and enrich our shared knowledge.

A simple "thank you" can uplift someone's spirits. Express your appreciation in the comments section!

On DEV, sharing knowledge smooths our journey and strengthens our community bonds. Found this useful? A brief thank you to the author can mean a lot.

Okay