Node.js dependency

First, we make sure we have Node.js installed on our computer. We can check if we have Node.js by running the following command in the terminal:

node -v

This command should print out the version number of Node.js installed on our machine. If it doesn’t, we can download Node.js from their website by running the following command in the terminal:

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash

Get hands-on with 1200+ tech skills courses.