Install Latest NodeJS In Linux
Setup
Setting APT Repositories
curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -Installing NodeJS
sudo apt-get install -y nodejsLast updated
We can get latest version of NodeJS by -
curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -Note: This will setup NodeJS 16 on the system.
sudo apt-get install -y nodejsThis will install NodeJS and NPM.
Source: JoshTronic
Reference(s)
Last updated