Technical requirements
To follow this book, you need to have some experience in using the terminal to run a few Unix commands. Also, you need to install Node.js. You have two options: the first one is to download Node.js directly from the official website (https://nodejs.org), and the second option (recommended) is to install Node Version Manager (NVM) from https://github.com/nvm-sh/nvm.
If you decide to go with NVM, you can install any version of Node.js you want and switch the versions with the nvm install
command:
node
is an alias for the latest version:nvm install node
- You can also install a global version of Node.js (
nvm
will install the latest version of Node.js locally to a user’s computer):nvm install 19 nvm install 18 nvm install 17 nvm install 16 nvm install 15
- Or you can install a very specific version:
nvm install 12.14.3
- After you have installed the different versions, you can switch...