If you are using Node for development then you indeed use Node Package Manager (NPM) for installing, upgrading, configuring, and removing packages. But when you just say npm, it means a lot of things. it may refer to,
http://npmjs.org is a repository where the node packages are maintained. Node packages such as **moment **can be searched here and installed by using NPM CLI.
You can also add your custom packages for free. But it will be available to anyone. If you need to keep your packages private then there is a paid plan also available.
There is no need to install NPM separately as it is now bundled with Node out of the box. You can verify the npm version by running below command
npm -v
or to upgrade the latest NPM using NPM itself.
npm install npm@latest -g
#nodejs #npm #javascript