diff options
Diffstat (limited to 'deps/npm/html/doc/cli/npm-install.html')
-rw-r--r-- | deps/npm/html/doc/cli/npm-install.html | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/deps/npm/html/doc/cli/npm-install.html b/deps/npm/html/doc/cli/npm-install.html index 35162c5018..d10c5b13e2 100644 --- a/deps/npm/html/doc/cli/npm-install.html +++ b/deps/npm/html/doc/cli/npm-install.html @@ -138,11 +138,24 @@ fetch the package by name if it is not valid. </code></pre><p> <code><protocol></code> is one of <code>git</code>, <code>git+ssh</code>, <code>git+http</code>, or <code>git+https</code>. If no <code><commit-ish></code> is specified, then <code>master</code> is used.</p> -<p> Examples:</p> -<pre><code> 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 +<p> The following git environment variables are recognized by npm and will be added + to the environment when running git:</p> +<ul> +<li><code>GIT_ASKPASS</code></li> +<li><code>GIT_PROXY_COMMAND</code></li> +<li><code>GIT_SSH</code></li> +<li><code>GIT_SSH_COMMAND</code></li> +<li><code>GIT_SSL_CAINFO</code></li> +<li><p><code>GIT_SSL_NO_VERIFY</code></p> +<p>See the git man page for details.</p> +<p>Examples:</p> +<pre><code>npm install git+ssh://git@github.com:npm/npm.git#v1.0.27 +npm install git+https://isaacs@github.com/npm/npm.git +npm install git://github.com/npm/npm.git#v1.0.27 +GIT_SSH_COMMAND='ssh -i ~/.ssh/custom_ident' npm install git+ssh://git@github.com:npm/npm.git </code></pre></li> +</ul> +</li> <li><p><code>npm install <githubname>/<githubrepo>[#<commit-ish>]</code>:</p> </li> <li><p><code>npm install github:<githubname>/<githubrepo>[#<commit-ish>]</code>:</p> @@ -264,5 +277,5 @@ affects a real use-case, it will be investigated.</p> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr> </table> -<p id="footer">npm-install — npm@2.11.3</p> +<p id="footer">npm-install — npm@2.12.1</p> |