Environment Setup
You have to download and setup node js from nodejs.org. You can follow documentation with your own device.
Installing Node js
tip
Recommended link is here -
Great!! As now you have installed the NodeJs successfully, now you just have to install NPM or Yarn. Below we have given the easy documentation.
Installing npm
tip
You can check the official documentation -
https://docs.npmjs.com/downloading-and-installing-node-js-and-npm
To download the latest version of npm, run the following command on the command line:
sudo apt install -g npm
And,
Installing Yarn
tip
You can check the official documentation -
https://classic.yarnpkg.com/lang/en/docs/install/#debian-stable
npm install --global yarn