Skip to main content

Node.js


We recommend you to use the LaTest Stable version of Node (also called the "LTS" version). Currently, it is the 16.15.0 version.

  • Download Node.js LTS from the official website.
  • Install Node.js by clicking on the executable you just downloaded.

Check that the installtion was successful:

  • Open a terminal and run node -v, and then npm -v.
  • You should get a version number for each command. If you get an error such as command not found, the installation did not work. You can also have to restart your computer to make it work.

As you saw, node.js comes with two different commands:

  • node is the programming language itself, which allow us to run scripts in javascript
  • npm is the node package manager, which we will use to install dependencies