# Installing NodeJS
This guide should explain how to install NodeJS for your operating system of choice. After executing all relevant steps for you OS you should end up with
a functioning installation of NodeJS and a shell you can run the node and npm commands in.
# Windows
To install NodeJS under windows you need to download the installer and follow the installation dialog. (You can leave anything in its default setting for now)
Download NodeJS for windows (opens new window)
After this you should be able to execute the node and npm command in the Command Prompt or something like Git Bash.
# Linux
Installing NodeJS in linux is pretty simple and strait forward. You install the package node or nodejs with the package manager of your distribution.
After that you are able to use the node and npm commands in your shell.
# Ubuntu/Debian
sudo apt-get install nodejs
# Arch Linux
sudo pacman -S nodejs npm
# Fedora/CentOS/RHEL
sudo dnf module install nodejs
# MacOS
As MacOS does not ship with a commandline packagemanager as linux does we need to install one. Nowadays its common to use a software called Homebrew (opens new window) for this purpose.
You can install Homebrew (opens new window) by running the following command in the Termianl app.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
When your done with that or already have homebrew installed move on with the next command and execute it in your Terminal to actually install the node and npm command.
brew install node