Memperbarui Node JS Ubuntu
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt-get install -y nodejs
Hurt Hornet
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt-get install -y nodejs
//check node version
>node -v
// let's install a program called n that will let us easily switch
//between Node versions.
>npm install -g n
//Upgrading to the latest stable version
>n stable
//Changing to a specific version
>n 10.16.0
sudo npm cache clean -f
sudo npm install -g n
sudo n 6.11.0
# Using Ubuntu
curl -sL https://deb.nodesource.com/setup_13.x | sudo -E bash -
sudo apt-get install -y nodejs
# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_13.x | bash -
apt-get install -y nodejs
1. sudo npm cache clean -f
2. sudo npm install -g n
3. sudo n stable
curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -