diff options
Diffstat (limited to 'deps/npm/html/doc/cli/npm-adduser.html')
-rw-r--r-- | deps/npm/html/doc/cli/npm-adduser.html | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/deps/npm/html/doc/cli/npm-adduser.html b/deps/npm/html/doc/cli/npm-adduser.html index 8267923eb4..9e34cb3640 100644 --- a/deps/npm/html/doc/cli/npm-adduser.html +++ b/deps/npm/html/doc/cli/npm-adduser.html @@ -12,6 +12,8 @@ <h1><a href="../cli/npm-adduser.html">npm-adduser</a></h1> <p>Add a registry user account</p> <h2 id="synopsis">SYNOPSIS</h2> <pre><code>npm adduser [--registry=url] [--scope=@orgname] [--always-auth] + +aliases: login, add-user </code></pre><h2 id="description">DESCRIPTION</h2> <p>Create or verify a user named <code><username></code> in the specified registry, and save the credentials to the <code>.npmrc</code> file. If no registry is specified, @@ -44,9 +46,11 @@ registry should include authorization information. Useful for private registries. Can be used with <code>--registry</code> and / or <code>--scope</code>, e.g.</p> <pre><code>npm adduser --registry=http://private-registry.example.com --always-auth </code></pre><p>This will ensure that all requests to that registry (including for tarballs) -include an authorization header. See <code>always-auth</code> in <code><a href="../misc/npm-config.html">npm-config(7)</a></code> for more -details on always-auth. Registry-specific configuration of <code>always-auth</code> takes -precedence over any global configuration.</p> +include an authorization header. This setting may be necessary for use with +private registries where metadata and package tarballs are stored on hosts with +different hostnames. See <code>always-auth</code> in <code><a href="../misc/npm-config.html">npm-config(7)</a></code> for more details on +always-auth. Registry-specific configuration of <code>always-auth</code> takes precedence +over any global configuration.</p> <h2 id="see-also">SEE ALSO</h2> <ul> <li><a href="../misc/npm-registry.html">npm-registry(7)</a></li> @@ -68,5 +72,5 @@ precedence over any global configuration.</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-adduser — npm@3.7.3</p> +<p id="footer">npm-adduser — npm@3.8.3</p> |