Node.js
How to install Node.js in Ubuntu
To install NVM and Node.js in Ubuntu, follow and run the commands in sequence:
sudo apt update
sudo apt upgrade
sudo apt install curl
curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
// Update bash to recognize nvm
source ~/.bashrc
// Install Node.js (18.0.0 is the required minimum for Vite)
nvm install 18.0.0
// To verify installation
node --version
Last updated