Setup Node JS

Learn how to setup Node JS on Ubuntu machine

Installing Node JS using a NodeSource PPA

# Download the latest NodeSource setup script
curl -fsSL https://deb.nodesource.com/setup_lts.x -o nodesource_setup.sh
sudo -E bash nodesource_setup.sh
 
# Use either one of the following commands to install Node.js
sudo apt-get install -y nodejs or sudo apt-get install -y nsolid
 
# check node version
node -v

Written by

KarChunT

Last Updated

Sun Apr 20 2025

Tags

LinuxNodeJS