Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Other npm commands #13

Closed
24 of 50 tasks
sebmck opened this issue Jan 19, 2016 · 0 comments
Closed
24 of 50 tasks

Other npm commands #13

sebmck opened this issue Jan 19, 2016 · 0 comments

Comments

@sebmck
Copy link
Contributor

sebmck commented Jan 19, 2016

I guess the decision is still to be made if this is going to be a complete replacement for npm. In the meantime here is a semi-organized list of commands (and aliases) on npm today.

Display local information:

  • bin - Display npm bin folder
  • bugs (issues) - Bugs for a package in a web browser maybe
  • docs (home) - Docs for a package in a web browser maybe
  • faq - Frequently Asked Questions
  • help (apihelp) - Get help on npm
  • help-search - Search npm help documentation
  • ls (la, list, ll) - List installed packages
  • prefix - Display prefix
  • repo - Open package repository page in the browser
  • root - Display npm root

Display remote information:

  • dist-tag (dist-tags) - Modify package distribution tags
  • outdated - Check for outdated packages
  • search (find, se, s) - Search for packages

Run local scripts:

  • restart - Restart a package
  • run-script (run) - Run arbitrary package scripts
  • start - Start a package
  • stop - Stop a package
  • test (t, tst) - Test a package

Modify local package:

  • version (verison) - Bump a package version

Modify remote package:

  • access - Set access level on published packages
  • deprecate - Deprecate a version of a package
  • owner (author) - Manage package owners
  • publish - Publish a package
  • tag - Tag a published version
  • team - Manage organization teams and team memberships
  • unpublish - Remove a package from the registry
  • view (info, show, v) - View registry info

Staring:

  • star - Mark your favorite packages
  • stars - View packages marked as favorites
  • unstar - Mark your favorite packages

Authentication:

  • adduser (add-user, login) - Add a registry user account
  • logout - Log out of the registry
  • whoami - Display npm username

Dependency managment:

  • build - Build a package
  • dedupe (ddp, find-dupes) - Reduce duplication
  • edit - Edit an installed package
  • explore - Browse an installed package
  • install (i) - Install a package
  • link (ln) - Symlink a package folder
  • prune - Remove extraneous packages
  • rebuild (rb) - Rebuild a package
  • rm (r, remove, un, uninstall, unlink) - Remove a package
  • shrinkwrap - Lock down dependency versions
  • update (up, upgrade) - Update a package

Misc:

  • cache - Manipulates packages cache
  • completion - Tab Completion for npm
  • config (c) - Manage the npm configuration files
  • init - Interactively create a package.json file
  • pack - Create a tarball from a package
  • ping - Ping npm registry
@sebmck sebmck closed this as completed Jul 13, 2016
arcanis added a commit that referenced this issue Sep 13, 2018
Fallbacks to the toplevel dependencies when a transitive dependency is missing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant