• Home
  • Raw
  • Download

Lines Matching full:install

1 .TH "NPM\-INSTALL" "1" "April 2022" "" ""
3 \fBnpm-install\fR \- Install a package
8 npm install (with no args, in package dir)
9 npm install [<@scope>/]<name>
10 npm install [<@scope>/]<name>@<tag>
11 npm install [<@scope>/]<name>@<version>
12 npm install [<@scope>/]<name>@<version range>
13 npm install <alias>@npm:<name>
14 npm install <git\-host>:<git\-user>/<repo\-name>
15 npm install <git repo url>
16 npm install <tarball file>
17 npm install <tarball url>
18 npm install <folder>
52 perhaps if you also want to be able to easily install it elsewhere
56 \fBnpm install\fP (in package directory, no arguments):
57 Install the dependencies in the local node_modules folder\.
61 By default, \fBnpm install\fP will install all modules listed as dependencies
64 is set to \fBproduction\fP), npm will not install modules listed in
65 \fBdevDependencies\fP\|\. To install all modules listed in both \fBdependencies\fP
74 \fBnpm install <folder>\fP:
75 Install the package in the directory as a symlink in the current project\.
80 \fBnpm install <tarball file>\fP:
81 Install a package that is sitting on the filesystem\. Note: if you just want
97 npm install \./package\.tgz
103 \fBnpm install <tarball url>\fP:
104 Fetch the tarball url, and then install it\. In order to distinguish between
110 npm install https://github\.com/indexzero/forever/tarball/v0\.5\.6
114 \fBnpm install [<@scope>/]<name>\fP:
115 Do a \fB<name>@<tag>\fP install, where \fB<tag>\fP is the "tag" config\. (See
117 In most cases, this will install the version of the modules tagged as
123 npm install sax
127 \fBnpm install <alias>@npm:<name>\fP:
128 Install a package under a custom alias\. Allows multiple versions of
139 npm install my\-react@npm:react
140 npm install jquery2@npm:jquery@2
141 npm install jquery3@npm:jquery@3
142 npm install npa@npm:npm\-package\-arg
150 `npm install` saves any specified packages into `dependencies` by default\.
186 npm install sax
187 npm install githubname/reponame
188 npm install @myorg/privatepackage
189 npm install node\-tap \-\-save\-dev
190 npm install dtrace\-provider \-\-save\-optional
191 npm install readable\-stream \-\-save\-exact
192 npm install ansi\-regex \-\-save\-bundle
196 working directory, then it will try to install that, and only try to
202 \fBnpm install [<@scope>/]<name>@<tag>\fP:
203 Install the version of the package that is referenced by the specified tag\.
210 npm install sax@latest
211 npm install @myorg/mypackage@latest
215 \fBnpm install [<@scope>/]<name>@<version>\fP:
216 Install the specified version of the package\. This will fail if the
222 npm install sax@0\.1\.1
223 npm install @myorg/privatepackage@1\.5\.0
227 \fBnpm install [<@scope>/]<name>@<version range>\fP:
228 Install a version of the package matching the specified version range\. This
236 npm install sax@">=0\.1\.0 <0\.2\.0"
237 npm install @myorg/privatepackage@">=0\.1\.0 <0\.2\.0"
241 \fBnpm install <git remote url>\fP:
285 npm install git+ssh://git@github\.com:npm/cli\.git#v1\.0\.27
286 npm install git+ssh://git@github\.com:npm/cli#semver:^5\.0
287 npm install git+https://isaacs@github\.com/npm/cli\.git
288 npm install git://github\.com/npm/cli\.git#v1\.0\.27
289 GIT_SSH_COMMAND='ssh \-i ~/\.ssh/custom_ident' npm install git+ssh://git@github\.com:npm/cli\.git
295 \fBnpm install <githubname>/<githubrepo>[#<commit\-ish>]\fP:
297 \fBnpm install github:<githubname>/<githubrepo>[#<commit\-ish>]\fP:
298 Install the package at \fBhttps://github\.com/githubname/githubrepo\fP by
313 npm install mygithubuser/myproject
314 npm install github:mygithubuser/myproject
318 \fBnpm install gist:[<githubname>/]<gistID>[#<commit\-ish>|#semver:<semver>]\fP:
319 Install the package at \fBhttps://gist\.github\.com/gistID\fP by attempting to
329 npm install gist:101a11beef
333 \fBnpm install bitbucket:<bitbucketname>/<bitbucketrepo>[#<commit\-ish>]\fP:
334 Install the package at \fBhttps://bitbucket\.org/bitbucketname/bitbucketrepo\fP
349 npm install bitbucket:mybitbucketuser/myproject
353 \fBnpm install gitlab:<gitlabname>/<gitlabrepo>[#<commit\-ish>]\fP:
354 Install the package at \fBhttps://gitlab\.com/gitlabname/gitlabrepo\fP
369 npm install gitlab:mygitlabuser/myproject
370 npm install gitlab:myusr/myproj#semver:^5\.0
381 npm install sax@">=0\.1\.0 <0\.2\.0" bench supervisor
385 The \fB\-\-tag\fP argument will apply to all of the specified install targets\. If a
389 The \fB\-\-dry\-run\fP argument will report in the usual way what the install would
400 npm install sax \-\-force
405 install that acknowledges the number of dependencies looking for funding\.
408 The \fB\-g\fP or \fB\-\-global\fP argument will cause npm to install the package globally
411 The \fB\-\-global\-style\fP argument will cause npm to install the package into
420 The \fB\-\-legacy\-bundling\fP argument will cause npm to install the package such
422 can install the package\. This eliminates all automatic deduping\.
453 To install a package, npm uses the following algorithm:
466 kinds of actions are install, update, remove and move
498 Because B's D@1 will be installed in the top level, C now has to install D@2
504 .SS Limitations of npm's Install Algorithm
506 npm will refuse to install any package with an identical name to the
511 cause npm to try to install a never\-ending tree of packages\. Here is
522 than the one that is already in the tree, it must install a separate
523 copy\. The same is true of \fBA'\fP, which must install \fBB'\fP\|\. Because \fBB'\fP
527 To avoid this situation, npm flat\-out refuses to install any