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)

Sentry image

See why 4M developers consider Sentry, โ€œnot bad.โ€

Fixing code doesnโ€™t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Retry later