“Node Package Manager” is called npm in shortened form. npm is a packet manager for JavaScript programming language. npm is free to use and users can download it from npm public software packages.

Image for post
Image for post
  • The CLI : CLI runs from a terminal and npm is interacted with by the developers.
  • The registry : Public and large JavaScript database and contains meta information related to it.
  • To check your npm version- C:/>npm -v
  • To install express package — C:/>npm install express
  • To install a package as a development dependency — C:/>npm install <package_name>- -save-dev
  • To install a package globally — C:/>npm install <package_name>- -global

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store