Homesss Linux HTML/CSS PHP PostgreSQL Node JS React VR Blog

Install NodeJS










JavaScriptNodeJS > Install NodeJS

Step 1: What Operating System are you using?

Below you will find installation instructions for many popular operating systems. I personally use Ubuntu. If you don't have a Linux/Ubuntu environment, but want to learn it, follow my lessons on installing:
Oracle VirtualBox with Ubuntu Server.

Ubuntu

$ sudo apt update
$ sudo apt install nodejs
$ node --version
$ sudo apt install npm
$ npm --version

update Downloads package lists to obtain up-to-date information on packages and their dependencies.
install Install NodeJS!!!
version See what version you are using
npm npm is the node package manager. Instead of apt-get, we will use npm to install node packages.


Arch

$ pacman -S nodejs npm

install Install NodeJS and npm!!!


Red Hat

$ curl --silent --location https://rpm.nodesource.com/setup_10.x | sudo bash -
$ sudo yum -y install nodejs

Free BSD

/usr/ports/www/node


OpenBSD

/usr/ports/lang/node

Windows

Follow instructions at nodejs.org

Other OS

Didn't see your OS? Looking for a different build? Check out all the NodeJS downloads.

Color Selector



Hex:


RBG:


If you find my tutorials helpful, please consider donating to support my free web development resources.

The more money I raise, the more content I can produce.

Thank you,
Commander Candy

DONATE


Questions? Contact me on my social media:

YouTube

GitHub

Facebook

Instagram

Twitter

T-shirt Shop

NodeJS Home | Next Lesson