- Published on
Install Node.js v12 on Linux, MAC and Windows
Installing Node.js v14
If you are planning to install latest Node.js version, please head toInstall Node.js v12 on Linux (Ubuntu, other Debian distributions)
Operating Systems that come under Debian are - Debian, Ubuntu, Linux Mint, elementary OS, BOSS, Trisquel, PureOS etc.,
Ubuntu, as non-root user
$ curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
$ sudo apt-get install -y nodejs
Using Debian, as root
$ curl -sL https://deb.nodesource.com/setup_12.x | bash -
$ apt-get install -y nodejs
Install Node.js v12 on Linux (RPM distribution)
Operating Systems that come under Debian are - Debian, Ubuntu, Linux Mint, elementary OS, BOSS, Trisquel, PureOS etc.,
As root user
curl -sL https://rpm.nodesource.com/setup_12.x | bash -
As Non-root user
curl -sL https://rpm.nodesource.com/setup_12.x | sudo bash -
Install Node.js v12 on macOS
Visit - https://nodejs.org/en/download/ download the macOS Installer .pkg
file and install the package
Install Node.js v12 on Windows
Visit - https://nodejs.org/en/download/ download the Windows Installer .msi
file and install the package