NPM cli commands info
NPM (Node Package Manager) is package manager for the Node (JavaScript) platform.
Wikipedia said NPM is the world’s largest Software Registry. The registry contains more than one million code packages. Open-source developers use npm to share software.
List of NPM CLI Commands
-
npm accessSet access level on published packages
-
npm adduserAdd a registry user account
-
npm auditRun a security audit
-
npm binDisplay npm bin folder
-
npm bugsBugs for a package in a web browser maybe
-
npm cacheManipulates packages cache
-
npm ciInstall a project with a clean slate
-
npm completionTab completion for npm
-
npm configManage the npm configuration files
-
npm dedupeReduce duplication
-
npm deprecateDeprecate a version of a package
-
npm diffThe registry diff command
-
npm dist-tagModify package distribution tags
-
npm docsDocs for a package in a web browser maybe
-
npm doctorCheck your environments
-
npm editEdit an installed package
-
npm execRun a command from an npm package
-
npm explainExplain installed packages
-
npm exploreBrowse an installed package
-
npm find-dupesFind duplication in the package tree
-
npm fundRetrieve funding information
-
npm helpSearch npm help documentation
-
npm help-searchGet help on npm
-
npm hookManage registry hooks
-
npm initCreate a package.json file
-
npm installInstall a package
-
npm install-ci-testInstall a project with a clean slate and run tests
-
npm install-testInstall package(s) and run tests
-
npm linkSymlink a package folder
-
npm logoutLog out of the registry
-
npm lsList installed packages
-
npm orgManage orgs
-
npm outdatedCheck for outdated packages
-
npm ownerManage package owners
-
npm packCreate a tarball from a package
-
npm pingPing npm registry
-
npm pkgManages your package.json
-
npm prefixDisplay prefix
-
npm profileChange settings on your registry profile
-
npm pruneRemove extraneous packages
-
npm publishPublish a package
-
npm rebuildRebuild a package
-
npm repoOpen package repository page in the browser
-
npm restartRestart a package
-
npm rootDisplay npm root
-
npm run-scriptRun arbitrary package scripts
-
npm searchSearch for packages
-
npm set-scriptSet tasks in the scripts section of package.json
-
npm shrinkwrapLock down dependency versions for publication
-
npm starMark your favorite packages
-
npm starsView packages marked as favorites
-
npm startStart a package
-
npm stopStop a package
-
npm teamManage organization teams and team memberships
-
npm testTest a package
-
npm tokenManage your authentication tokens
-
npm uninstallRemove a package
-
npm unpublishRemove a package from the registry
-
npm unstarRemove an item from your favorite packages
-
npm updateUpdate a package
-
npm versionBump a package version
-
npm viewView registry info
-
npm whoamiDisplay npm username
To practice CLI commands take NPM Commands Quiz.
REF: https://docs.npmjs.com/cli/v7/commands
…
tags: npm & category: javascript