Using NodeSource
Refer to the NodeSource documentation for more
information on the available versions.
Node.js v14.x:
# Using Ubuntu
curl -fsSL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt-get install -y nodejs
# Using Debian, as root
curl -fsSL https://deb.nodesource.com/setup_14.x | bash -
apt-get install -y nodejs
Upgrade npm
npm install -g npm
Top comments (0)