Installing Node.js with nvm to Linux & macOS & WSL A quick guide on how to setup Node.js development environment. Previous versions of these install instructions had been tested with: Ubuntu on WSL (Windows Subsystem for Linux) Ubuntu 18.04 LTS (Bionic Beaver) Ubuntu 17.04 (Zesty Zapus) Ubuntu 16.04 LTS (Xenial Xerus) Ubuntu 14.04.3 LTS (Trusty) macOS 10.12.6 (Sierra) OS X 10.11.6 (El Capitan) Install nvm for managing Node.js versions The reason for using nvm instead of other install types is mainly in how easy it is to have multiple versions of Node.js (if needed) without too much of extra complexity. Sometimes applications might require a certain version of Node.js to work, so having the flexibility of using specific versions can save a lot of time from you. Open new Terminal window. Run nvm installer ...with either curl or wget. curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.s...