Difference between revisions of "Npm install --help"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
 +
* https://docs.npmjs.com/cli/v8/commands/npm-install
 +
 +
[[npm install]] --help
 
<pre>
 
<pre>
npm install
 
 
 
Install a package
 
Install a package
  
Line 25: Line 26:
 
[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
 
[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
 
[-ws|--workspaces] [--include-workspace-root]
 
[-ws|--workspaces] [--include-workspace-root]
 
aliases: i, in, ins, inst, insta, instal, isnt, isnta, isntal, add
 
 
Run "npm help install" for more info
 
 
</pre>
 
</pre>
 +
aliases: i, in, ins, inst, insta, instal, isnt, isnta, isntal, add
 +
 +
Run "[[npm help install]]" for more info
  
 
== See also ==
 
== See also ==
 
* {{npm}}
 
* {{npm}}
 +
 +
[[Category:NPM]]

Latest revision as of 11:01, 8 February 2024

npm install --help
Install a package

Usage:
npm install [<@scope>/]<pkg>
npm install [<@scope>/]<pkg>@<tag>
npm install [<@scope>/]<pkg>@<version>
npm install [<@scope>/]<pkg>@<version range>
npm install <alias>@npm:<name>
npm install <folder>
npm install <tarball file>
npm install <tarball url>
npm install <git:// url>
npm install <github username>/<github project>

Options:
[-S|--save|--no-save|--save-prod|--save-dev|--save-optional|--save-peer]
[-E|--save-exact] [-g|--global] [--global-style] [--legacy-bundling]
[--strict-peer-deps] [--no-package-lock]
[--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]] [--ignore-scripts]
[--no-audit] [--no-bin-links] [--no-fund] [--dry-run]
[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
[-ws|--workspaces] [--include-workspace-root]
aliases: i, in, ins, inst, insta, instal, isnt, isnta, isntal, add

Run "npm help install" for more info

See also[edit]

Advertising: