Installing Node
If we don't already have Node installed, we can go to nodejs.org to pick up the latest version for our operating system.
If we don't already have Node installed, we can go to nodejs.org to pick up the latest version for our operating system.
If Node is on our system, then so is the npm executable; npm is the default package manager for Node. It's useful for creating, managing, installing, and publishing modules.
Before we run any commands, let's tweak the npm configuration a little:
npm config set init.author.name "<name here>"
This will speed up module creation and ensure that each package we create has a consistent author name, thus avoiding typos and variations of our name.
npm stands for...
Contrary to popular belief, npm is not an acronym for Node Package Manager; in fact, it stands for npm is Not An Acronym, which is why it's not called NINAA.
Contrary to popular belief, npm is not an acronym for Node Package Manager; in fact, it stands for npm is Not An Acronym, which is why it's not called NINAA.