node ubutun code example
Example 1: node ubutun
sudo apt-get update
sudo apt-get install nodejs npm
Example 2: node ubutun
wget -qO- https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt install -y nodejs
Example 3: node ubutun
sudo apt-get install curl
Example 4: node ubutun
sudo curl -o /usr/local/bin/n https://raw.githubusercontent.com/visionmedia/n/master/bin/n
Example 5: node ubutun
sudo chmod +x /usr/local/bin/n
Example 6: node ubutun
sudo n stable