This skill should be used when the user needs help with npm CLI commands, including access, adduser, audit, bugs, cache, ci, completion, config, dedupe, deprecate, diff, dist-tag, docs, doctor, edit, exec, explain, explore, find-dupes, fund, get, help, help-search, init, install, install-ci-test, install-test, link, ll, login, logout, ls, org, outdated, owner, pack, ping, pkg, prefix, profile, prune, publish, query, rebuild, repo, restart, root, run, sbom, search, set, shrinkwrap, star, stars, start, stop, team, test, token, undeprecate, uninstall, unpublish, unstar, update, version, view, whoami. Covers flags, subcommands, usage patterns, and troubleshooting for all 67 npm commands.
Expert command reference for npm v11.8.0.
This skill applies when:
npm commandsnpm invocations or errorsnpm operationsEnsure npm is installed and available on PATH.
| Command | Description |
|---|---|
npm access | Set access level on published packages |
npm adduser | Add a registry user account |
npm audit | Run a security audit |
npm bugs | Report bugs for a package in a web browser |
npm cache | Manipulates packages and npx cache |
npm ci | Clean install a project |
npm completion | Tab Completion for npm |
npm config | Manage the npm configuration files |
npm dedupe | Reduce duplication in the package tree |
npm deprecate | Deprecate a version of a package |
npm diff | The registry diff command |
npm dist-tag | Modify package distribution tags |
npm docs | Open documentation for a package in a web browser |
npm doctor | Check the health of your npm environment |
npm edit | Edit an installed package |
npm exec | Run a command from a local or remote npm package |
npm explain | Explain installed packages |
npm explore | Browse an installed package |
npm find-dupes | Find duplication in the package tree |
npm fund | Retrieve funding information |
npm get | Get a value from the npm configuration |
npm help | Get help on npm |
npm help-search | Search npm help documentation |
npm init | Create a package.json file |
npm install | Install a package |
npm install-ci-test | Install a project with a clean slate and run tests |
npm install-test | Install package(s) and run tests |
npm link | Symlink a package folder |
npm ll | List installed packages |
npm login | Login to a registry user account |
npm logout | Log out of the registry |
npm ls | List installed packages |
npm org | Manage orgs |
npm outdated | Check for outdated packages |
npm owner | Manage package owners |
npm pack | Create a tarball from a package |
npm ping | Ping npm registry |
npm pkg | Manages your package.json |
npm prefix | Display prefix |
npm profile | Change settings on your registry profile |
npm prune | Remove extraneous packages |
npm publish | Publish a package |
npm query | Retrieve a filtered list of packages |
npm rebuild | Rebuild a package |
npm repo | Open package repository page in the browser |
npm restart | Restart a package |
npm root | Display npm root |
npm run | Run arbitrary package scripts |
npm sbom | Generate a Software Bill of Materials (SBOM) |
npm search | Search for packages |
npm set | Set a value in the npm configuration |
npm shrinkwrap | Lock down dependency versions for publication |
npm star | Mark your favorite packages |
npm stars | View packages marked as favorites |
npm start | Start a package |
npm stop | Stop a package |
npm team | Manage organization teams and team memberships |
npm test | Test a package |
npm token | Manage your authentication tokens |
npm undeprecate | Undeprecate a version of a package |
npm uninstall | Remove a package |
npm unpublish | Remove a package from the registry |
npm unstar | Remove an item from your favorite packages |
npm update | Update packages |
npm version | Bump a package version |
npm view | View registry info |
npm whoami | Display npm username |
access, adduser, audit, bugs, cache, ci, completion, config, dedupe, deprecate, diff, dist-tag, docs, doctor, edit, exec, explain, explore, find-dupes, fund, get, help, help-search, init, install, install-ci-test, install-test, link, ll, login, logout, ls, org, outdated, owner, pack, ping, pkg, prefix, profile, prune, publish, query, rebuild, repo, restart, root, run, sbom, search, set, shrinkwrap, star, stars, start, stop, team, test, token, undeprecate, uninstall, unpublish, unstar, update, version, view, whoami
For complete command documentation including all flags and subcommands:
references/commands.mdreferences/examples.mdnpm doctor to diagnose issuesnpm --help or npm <command> --help for inline help--verbose for detailed output during debuggingTo update this plugin after a CLI version change, run the /scan-cli command
or manually execute the crawler and generator.