To Lecture Notes

IT 231 -- npm Commands

npm means Node Package Manager.

npm Command Meaning
npm init Initialize a Node project and create package.json file.
npm install Install a Node package.
npm publish Save and upload a Node package so that the
Node community can use it.
npm start Run the Node project, if the project.json file is set up to do this.
npm stop Stops the running Node project.
npm docs Opens the documentation webpage for your Node project.

In IT 231, we will use the npm commands init and install.