- npm makes it easy for JavaScript developers to share and reuse code, and makes it easy to update the code that you’re sharing, so you can build amazing things.
- npm is installed with Node.js
- npm is distributed with Node.js- which means that when you download Node.js, you automatically get npm installed on your computer.
-
To check if you have Node.js installed, run this command in your terminal: node -v
-
To confirm that you have npm installed you can run this command in your terminal: npm -v