3 <title>npm-adduser</title>
4 <meta http-equiv="content-type" value="text/html;utf-8">
5 <link rel="stylesheet" type="text/css" href="../../static/style.css">
9 <h1><a href="../cli/npm-adduser.html">npm-adduser</a></h1> <p>Add a registry user account</p>
11 <h2 id="SYNOPSIS">SYNOPSIS</h2>
13 <pre><code>npm adduser</code></pre>
15 <h2 id="DESCRIPTION">DESCRIPTION</h2>
17 <p>Create or verify a user named <code><username></code> in the npm registry, and
18 save the credentials to the <code>.npmrc</code> file.</p>
20 <p>The username, password, and email are read in from prompts.</p>
22 <p>You may use this command to change your email address, but not username
25 <p>To reset your password, go to <a href="http://admin.npmjs.org/">http://admin.npmjs.org/</a></p>
27 <p>You may use this command multiple times with the same user account to
28 authorize on a new machine.</p>
30 <h2 id="CONFIGURATION">CONFIGURATION</h2>
32 <h3 id="registry">registry</h3>
34 <p>Default: http://registry.npmjs.org/</p>
36 <p>The base URL of the npm package registry.</p>
38 <h2 id="SEE-ALSO">SEE ALSO</h2>
40 <ul><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li><li><a href="../cli/npm-owner.html">npm-owner(1)</a></li><li><a href="../cli/npm-whoami.html">npm-whoami(1)</a></li></ul>
42 <p id="footer">npm-adduser — npm@1.3.17</p>
45 var wrapper = document.getElementById("wrapper")
46 var els = Array.prototype.slice.call(wrapper.getElementsByTagName("*"), 0)
47 .filter(function (el) {
48 return el.parentNode === wrapper
49 && el.tagName.match(/H[1-6]/)
53 , toc = document.createElement("ul")
54 toc.innerHTML = els.map(function (el) {
55 var i = el.tagName.charAt(1)
65 out += "<li><a href='#" + el.id + "'>" +
66 ( el.innerText || el.text || el.innerHTML)
71 document.body.appendChild(toc)