Modern frontends are typically built using NodeJS a browserless form of JavaScript. This page provides details around how to install NodeJS and it’s supporting library NPM.
If there is anything missing or not clear in this guide, please leave a comment below.
NodeJS
NodeJS is used to run code that is written in JavaScript outside of a browser.
Node Package Manager
Node Package Manager is an automated build tool that is responsible for building Node projects and triggering and handling the a Node projects dependencies. Handly, it is installed alongside Node when you run the installer.
node -v
. You should see output similar to this to indicate Node is installed and ready to go:v16.14.0
npm -v
. You should see output similar to this to indicate Npm is installed and ready to go:8.3.1
node -v
. You should see output similar to this to indicate Node is installed and ready to go:v16.14.0
npm -v
. You should see output similar to this to indicate Npm is installed and ready to go:8.3.1
If you have installed NodeJS but are receiving errors in your terminal or command about node or npm not being available it is likely that the environmental variable for your system named PATH is missing details of where your copy of node and/or npm is installed.
You can learn more about updating your environmental variables here: https://www.computerhope.com/issues/ch000549.htm
Comments