Difference between revisions of "Npm help"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
<pre>
 
npm help
 
npm <command>
 
 
Usage:
 
 
npm install        install all the dependencies in your project
 
npm install <foo>  add the <foo> dependency to your project
 
npm test          run this project's tests
 
npm run <foo>      run the script named <foo>
 
npm <command> -h  quick help on <command>
 
npm -l            display usage info for all commands
 
npm help <term>    search for help on <term>
 
npm help npm      more involved overview
 
 
All commands:
 
  
 +
npm help
 +
npm <command>
 +
 +
Usage:
 +
 +
npm install        install all the dependencies in your project
 +
npm install <foo>  add the <foo> dependency to your project
 +
npm test          run this project's tests
 +
npm run <foo>      run the script named <foo>
 +
npm <command> -h  quick help on <command>
 +
npm -l            display usage info for all commands
 +
npm help <term>    search for help on <term>
 +
npm help npm      more involved overview
 +
 +
All commands:
 +
 
     access, adduser, audit, bin, bugs, cache, ci, completion,
 
     access, adduser, audit, bin, bugs, cache, ci, completion,
 
     config, dedupe, deprecate, diff, dist-tag, docs, doctor,
 
     config, dedupe, deprecate, diff, dist-tag, docs, doctor,
Line 27: Line 27:
 
     uninstall, unpublish, unstar, update, version, view, whoami
 
     uninstall, unpublish, unstar, update, version, view, whoami
  
.../...
+
.../...
</pre>
+
 
  
 
== See also ==
 
== See also ==

Revision as of 05:34, 29 June 2022

npm help
npm <command>

Usage:

npm install        install all the dependencies in your project
npm install <foo>  add the <foo> dependency to your project
npm test           run this project's tests
npm run <foo>      run the script named <foo>
npm <command> -h   quick help on <command>
npm -l             display usage info for all commands
npm help <term>    search for help on <term>
npm help npm       more involved overview 

All commands:

   access, adduser, audit, bin, bugs, cache, ci, completion,
   config, dedupe, deprecate, diff, dist-tag, docs, doctor,
   edit, exec, explain, explore, find-dupes, fund, get, help,
   hook, init, install, install-ci-test, install-test, link,
   ll, login, logout, ls, org, outdated, owner, pack, ping,
   pkg, prefix, profile, prune, publish, rebuild, repo,
   restart, root, run-script, search, set, set-script,
   shrinkwrap, star, stars, start, stop, team, test, token,
   uninstall, unpublish, unstar, update, version, view, whoami
.../...


See also

Advertising: