Install
nodejs
April 19, 20201 min read

Install Node.js v12 on Linux, MAC and Windows

If you are planning to install latest Node.js version, please head to Installing Node.js v14

Install 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

Share this blog
Tagged in :
nodejs
Like what you read?
Subscribe to our Newsletter
Subscribe to our email newsletter and unlock access to members-only content and exclusive updates.
About the Author
Satvik
Satvik
Entrepreneur
Satvik is a passionate developer turned Entrepreneur. He is fascinated by JavaScript, Operating System, Deep Learning, AR/VR. He has published several research papers and applied for patents in the field as well. Satvik is a speaker in conferences, meetups talking about Artificial Intelligence, JavaScript and related subjects. His goal is to solve complex problems that people face with automation. Related projects can be seen at - [Projects](/projects)
View all articles
Previous Article
Next Article