Lines Matching full:install
1 .TH "NPM-INSTALL" "1" "February 2024" "" ""
3 \fBnpm-install\fR - Install a package
8 npm install \[lB]<package-spec> ...\[rB]
47 …te a node program (a), and perhaps if you also want to be able to easily install it elsewhere afte…
50 \fBnpm install\fR (in a package directory, no arguments):
52 Install the dependencies to the local \fBnode_modules\fR folder.
56 By default, \fBnpm install\fR will install all modules listed as dependencies in \fB\fBpackage.json…
58 …able is set to \fBproduction\fR), npm will not install modules listed in \fBdevDependencies\fR. To…
65 \fBnpm install <folder>\fR:
67 …If \fB<folder>\fR sits outside the root of your project, \fInpm will not install the package depen…
70 … want to install the content of a directory like a package from the registry instead of creating a…
78 npm install ../../other-package --install-links
79 npm install ./sub-package
83 \fBnpm install <tarball file>\fR:
85 Install a package that is sitting on the filesystem. Note: if you just want to link a dev directory…
103 npm install ./package.tgz
107 \fBnpm install <tarball url>\fR:
109 Fetch the tarball url, and then install it. In order to distinguish between this and other options,…
115 npm install https://github.com/indexzero/forever/tarball/v0.5.6
119 \fBnpm install \[lB]<@scope>/\[rB]<name>\fR:
121 Do a \fB<name>@<tag>\fR install, where \fB<tag>\fR is the "tag" config. (See \fB\fBconfig\fR\fR \fI…
123 In most cases, this will install the version of the modules tagged as \fBlatest\fR on the npm regis…
129 npm install sax
133 \fBnpm install\fR saves any specified packages into \fBdependencies\fR by default. Additionally, yo…
165 npm install sax
166 npm install githubname/reponame
167 npm install @myorg/privatepackage
168 npm install node-tap --save-dev
169 npm install dtrace-provider --save-optional
170 npm install readable-stream --save-exact
171 npm install ansi-regex --save-bundle
175 …named \fB<name>\fR in the current working directory, then it will try to install that, and only tr…
177 \fBnpm install <alias>@npm:<name>\fR:
179 Install a package under a custom alias. Allows multiple versions of a same-name package side-by-sid…
185 npm install my-react@npm:react
186 npm install jquery2@npm:jquery@2
187 npm install jquery3@npm:jquery@3
188 npm install npa@npm:npm-package-arg
192 \fBnpm install \[lB]<@scope>/\[rB]<name>@<tag>\fR:
194 Install the version of the package that is referenced by the specified tag. If the tag does not exi…
200 npm install sax@latest
201 npm install @myorg/mypackage@latest
205 \fBnpm install \[lB]<@scope>/\[rB]<name>@<version>\fR:
207 Install the specified version of the package. This will fail if the version has not been published …
213 npm install sax@0.1.1
214 npm install @myorg/privatepackage@1.5.0
218 \fBnpm install \[lB]<@scope>/\[rB]<name>@<version range>\fR:
220 Install a version of the package matching the specified version range. This will follow the same ru…
228 npm install sax@">=0.1.0 <0.2.0"
229 npm install @myorg/privatepackage@"16 - 17"
233 \fBnpm install <git remote url>\fR:
276 npm install git+ssh://git@github.com:npm/cli.git#v1.0.27
277 npm install git+ssh://git@github.com:npm/cli#pull/273
278 npm install git+ssh://git@github.com:npm/cli#semver:^5.0
279 npm install git+https://isaacs@github.com/npm/cli.git
280 npm install git://github.com/npm/cli.git#v1.0.27
281 GIT_SSH_COMMAND='ssh -i ~/.ssh/custom_ident' npm install git+ssh://git@github.com:npm/cli.git
285 \fBnpm install <githubname>/<githubrepo>\[lB]#<commit-ish>\[rB]\fR:
287 \fBnpm install github:<githubname>/<githubrepo>\[lB]#<commit-ish>\[rB]\fR:
289 Install the package at \fBhttps://github.com/githubname/githubrepo\fR by attempting to clone it usi…
299 npm install mygithubuser/myproject
300 npm install github:mygithubuser/myproject
304 \fBnpm install gist:\[lB]<githubname>/\[rB]<gistID>\[lB]#<commit-ish>|#semver:<semver>\[rB]\fR:
306 Install the package at \fBhttps://gist.github.com/gistID\fR by attempting to clone it using \fBgit\…
314 npm install gist:101a11beef
318 \fBnpm install bitbucket:<bitbucketname>/<bitbucketrepo>\[lB]#<commit-ish>\[rB]\fR:
320 Install the package at \fBhttps://bitbucket.org/bitbucketname/bitbucketrepo\fR by attempting to clo…
330 npm install bitbucket:mybitbucketuser/myproject
334 \fBnpm install gitlab:<gitlabname>/<gitlabrepo>\[lB]#<commit-ish>\[rB]\fR:
336 Install the package at \fBhttps://gitlab.com/gitlabname/gitlabrepo\fR by attempting to clone it usi…
346 npm install gitlab:mygitlabuser/myproject
347 npm install gitlab:myusr/myproj#semver:^5.0
357 npm install sax@">=0.1.0 <0.2.0" bench supervisor
361 The \fB--tag\fR argument will apply to all of the specified install targets. If a tag with the give…
363 The \fB--dry-run\fR argument will report in the usual way what the install would have done without …
371 npm install sax --force
422 .SS "\fBinstall-strategy\fR"
431 …Install non-duplicated in top-level, and duplicated as necessary within directory structure. neste…
439 DEPRECATED: This option has been deprecated in favor of \fB--install-strategy=nested\fR
443 …install packages in the same manner that they are depended on. This may cause very deep directory …
451 DEPRECATED: This option has been deprecated in favor of \fB--install-strategy=shallow\fR
455 Only install direct dependencies in the top level \fBnode_modules\fR, but hoist on deeper dependenc…
481 Option that allows for defining which types of dependencies to install.
495 … then \fIany\fR conflicting \fBpeerDependencies\fR will be treated as an install failure, even if …
543 Run all build scripts (ie, \fBpreinstall\fR, \fBinstall\fR, and \fBpostinstall\fR) scripts for inst…
589 When "true" displays the message at the end of each \fBnpm install\fR acknowledging the number of d…
599 …sed into any of the commands that modify your local installation, eg, \fBinstall\fR, \fBupdate\fR,…
611 Override CPU architecture of native modules to install. Acceptable values are same as \fBcpu\fR fie…
621 Override OS of native modules to install. Acceptable values are same as \fBos\fR field of package.j…
631 Override libc of native modules to install. Acceptable values are same as \fBlibc\fR field of packa…
668 Explicitly setting this to false will cause commands like \fBinstall\fR to ignore workspaces altoge…
671 Commands that operate on the \fBnode_modules\fR tree (install, update, etc.) will link workspaces i…
690 .SS "\fBinstall-links\fR"
702 Given a \fBpackage{dep}\fR structure: \fBA{B,C}, B{C}, C{D}\fR, the npm install algorithm produces:
727 Because B's D@1 will be installed in the top-level, C now has to install D@2 privately for itself. …