Fetching contributors…
Cannot retrieve contributors at this time
4 lines (2 sloc) 337 Bytes

Download the latest (LTS or current) Node.js and install it globally on your system. This includes the Node Packaged Modules (npm) which is the standard way for installing Node packages.

After the installation make sure that you are able to run the npm --version command from your terminal.