Npm-h View the Help information for the NPM command
Npm-v or NPM--version view NPM version information
NPM Li or npm list view NPM installed modules
NPM Info <pkg> version View the latest release information for a module, such as NPM info underscore version
NPM Search <keyword> Find module information that matches keyword
NPM View <pkg> version See the latest release of a package
NPM Install <pkg> Install the specified module
NPM Install <pkg> @version Install the specified version of the module
NPM Install <pkg>--save will most likely install the latest version of the package and automatically update Package.json's dependencies while installing the package
NPM Install <pkg>--save-dev will most likely install the latest version of the package and automatically update Package.json's devdependencies while installing the package
NPM Install <pkg>--save-optional will most likely install the latest version of the package and automatically update Package.json's optionaldependencies while installing the package
NPM Install <pkg>--save-exact Saved dependencies would be configured with a exact version rather using NPM ' s default semver range operator.