summaryrefslogtreecommitdiff
path: root/deps/npm/man/man1/npm-install.1
diff options
context:
space:
mode:
authorRebecca Turner <me@re-becca.org>2015-05-22 03:14:39 -0400
committerJeremiah Senkpiel <fishrock123@rocketmail.com>2015-05-23 19:48:00 -0400
commitc54d05759811608c6158211f790b4cf0706831c1 (patch)
treedcdfe2dde7dce2505da008913739d48aa006a5c1 /deps/npm/man/man1/npm-install.1
parent367ffd167d5919eabd843798157355c02c5f3a41 (diff)
downloadandroid-node-v8-c54d05759811608c6158211f790b4cf0706831c1.tar.gz
android-node-v8-c54d05759811608c6158211f790b4cf0706831c1.tar.bz2
android-node-v8-c54d05759811608c6158211f790b4cf0706831c1.zip
deps: upgrade to npm 2.10.1
PR-URL: https://github.com/nodejs/io.js/pull/1763 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Diffstat (limited to 'deps/npm/man/man1/npm-install.1')
-rw-r--r--deps/npm/man/man1/npm-install.167
1 files changed, 31 insertions, 36 deletions
diff --git a/deps/npm/man/man1/npm-install.1 b/deps/npm/man/man1/npm-install.1
index 12abe8fb87..5e9345cfd9 100644
--- a/deps/npm/man/man1/npm-install.1
+++ b/deps/npm/man/man1/npm-install.1
@@ -181,33 +181,48 @@ fetch the package by name if it is not valid\.
.fi
.RE
.IP \(bu 2
-\fBnpm install <githubname>/<githubrepo>\fR:
- Install the package at \fBhttps://github\.com/githubname/githubrepo\fR by
- attempting to clone it using \fBgit\fR\|\.
- Example:
+\fBnpm install <git remote url>\fR:
+ Install a package by cloning a git remote url\. The format of the git
+ url is:
.P
.RS 2
.nf
- npm install mygithubuser/myproject
+ <protocol>://[<user>[:<password>]@]<hostname>[:<port>][:/]<path>[#<commit\-ish>]
+.fi
+.RE
+ \fB<protocol>\fR is one of \fBgit\fR, \fBgit+ssh\fR, \fBgit+http\fR, or
+ \fBgit+https\fR\|\. If no \fB<commit\-ish>\fR is specified, then \fBmaster\fR is
+ used\.
+ Examples:
+.P
+.RS 2
+.nf
+ git+ssh://git@github\.com:npm/npm\.git#v1\.0\.27
+ git+https://isaacs@github\.com/npm/npm\.git
+ git://github\.com/npm/npm\.git#v1\.0\.27
.fi
.RE
- To reference a package in a generic git repo (not on GitHub), see git remote
- urls below\.
.IP \(bu 2
-\fBnpm install github:<githubname>/<githubrepo>\fR:
- The same as the above, but explicitly marked as a GitHub dependency\.
- Example:
+\fBnpm install <githubname>/<githubrepo>[#<commit\-ish>]\fR:
+.IP \(bu 2
+\fBnpm install github:<githubname>/<githubrepo>[#<commit\-ish>]\fR:
+ Install the package at \fBhttps://github\.com/githubname/githubrepo\fR by
+ attempting to clone it using \fBgit\fR\|\.
+ If you don't specify a \fIcommit\-ish\fR then \fBmaster\fR will be used\.
+ Examples:
.P
.RS 2
.nf
- npm install github:npm/npm
+ npm install mygithubuser/myproject
+ npm install github:mygithubuser/myproject
.fi
.RE
.IP \(bu 2
-\fBnpm install gist:[<githubname>/]<gistID>\fR:
+\fBnpm install gist:[<githubname>/]<gistID>[#<commit\-ish>]\fR:
Install the package at \fBhttps://gist\.github\.com/gistID\fR by attempting to
clone it using \fBgit\fR\|\. The GitHub username associated with the gist is
optional and will not be saved in \fBpackage\.json\fR if \fB\-\-save\fR is used\.
+ If you don't specify a \fIcommit\-ish\fR then \fBmaster\fR will be used\.
Example:
.P
.RS 2
@@ -216,9 +231,10 @@ fetch the package by name if it is not valid\.
.fi
.RE
.IP \(bu 2
-\fBnpm install bitbucket:<bitbucketname>/<bitbucketrepo>\fR:
+\fBnpm install bitbucket:<bitbucketname>/<bitbucketrepo>[#<commit\-ish>]\fR:
Install the package at \fBhttps://bitbucket\.org/bitbucketname/bitbucketrepo\fR
by attempting to clone it using \fBgit\fR\|\.
+ If you don't specify a \fIcommit\-ish\fR then \fBmaster\fR will be used\.
Example:
.P
.RS 2
@@ -227,9 +243,10 @@ fetch the package by name if it is not valid\.
.fi
.RE
.IP \(bu 2
-\fBnpm install gitlab:<gitlabname>/<gitlabrepo>\fR:
+\fBnpm install gitlab:<gitlabname>/<gitlabrepo>[#<commit\-ish>]\fR:
Install the package at \fBhttps://gitlab\.com/gitlabname/gitlabrepo\fR
by attempting to clone it using \fBgit\fR\|\.
+ If you don't specify a \fIcommit\-ish\fR then \fBmaster\fR will be used\.
Example:
.P
.RS 2
@@ -237,28 +254,6 @@ fetch the package by name if it is not valid\.
npm install gitlab:mygitlabuser/myproject
.fi
.RE
-.IP \(bu 2
-\fBnpm install <git remote url>\fR:
- Install a package by cloning a git remote url\. The format of the git
- url is:
-.P
-.RS 2
-.nf
- <protocol>://[<user>[:<password>]@]<hostname><separator><path>[#<commit\-ish>]
-.fi
-.RE
- \fB<protocol>\fR is one of \fBgit\fR, \fBgit+ssh\fR, \fBgit+http\fR, or
- \fBgit+https\fR\|\. If no \fB<commit\-ish>\fR is specified, then \fBmaster\fR is
- used\.
- Examples:
-.P
-.RS 2
-.nf
- git+ssh://git@github\.com:npm/npm\.git#v1\.0\.27
- git+https://isaacs@github\.com/npm/npm\.git
- git://github\.com/npm/npm\.git#v1\.0\.27
-.fi
-.RE
.RE
.P