What is npm?
npm help us(developers) to share and reuse code, and makes it easy to update the code that we already shared.
Install npm
In order to install npm, just install node.js. when you install Node.js, you automatically get npm installed on your computer because npm is distributed with Node.js
Click Here to download node.js
Verify
After installation just verify that you have node.js in your machine.
node -v (or) npm -v
node -v (or) npm -v
find out npm version |
Good to have the npm version 8 & above.
Use below command to update npm version
npm install npm@latest -g