Skip to content

Instantly share code, notes, and snippets.

@thewayiam
Created August 9, 2017 06:27
Show Gist options
  • Save thewayiam/a9aadb2a5337011afd2466b6f3ccf72b to your computer and use it in GitHub Desktop.
Save thewayiam/a9aadb2a5337011afd2466b6f3ccf72b to your computer and use it in GitHub Desktop.
Usage: npm <command>
where <command> is one of:
access, adduser, bin, bugs, c, cache, completion, config,
ddp, dedupe, deprecate, dist-tag, docs, edit, explore, get,
help, help-search, i, init, install, install-test, it, link,
list, ln, logout, ls, outdated, owner, pack, ping, prefix,
prune, publish, rb, rebuild, repo, restart, root, run,
run-script, s, se, search, set, shrinkwrap, star, stars,
start, stop, t, tag, team, test, tst, un, uninstall,
unpublish, unstar, up, update, v, version, view, whoami
npm <cmd> -h quick help on <cmd>
npm -l display full usage info
npm help <term> search for help on <term>
npm help npm involved overview
Specify configs in the ini-formatted file:
/home/ly/.npmrc
or on the command line via: npm <command> --key value
Config info can be viewed via: npm help config
npm@3.9.5 /usr/local/lib/node_modules/npm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment