Before doing this tutorial you will need to have Node.js installed. Once installed you can run any program on your computer written in JavaScript using the node command in the terminal. So if you call this program main.js then you can run it on the command line with the command:
Full article