Difference between revisions of "Npm install --help"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
+ | |||
+ | [[npm install]] | ||
<pre> | <pre> | ||
− | |||
− | |||
Install a package | Install a package | ||
Revision as of 03:10, 1 February 2022
npm install
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
Advertising: