Welcome to mirror list, hosted at ThFree Co, Russian Federation.

adduser.1 « man - github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: eb8f6e4e6cd2635140c9dddeb5ed0ee3ff86c11b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
.\" generated with Ronn/v0.4.1
.\" http://github.com/rtomayko/ronn/
.
.TH "ADDUSER" "1" "April 2010" "" ""
.
.SH "NAME"
\fBadduser\fR \-\- Add a registry user account
.
.SH "SYNOPSIS"
.
.nf
npm adduser bob password bob@email.com
.
.fi
.
.SH "DESCRIPTION"
Create a user named "bob" in the npm registry, and save the credentials to the\fB.npmrc\fR file. Note that this leaves the password in your \fB.bash_history\fR, and
it is currently stored in the clear in the config file. So, don't use a
password you care too much about.
.
.P
For now, if you somehow break your \fB.npmrc\fR file, and have forgotten your
password, you're boned. \fIEmail isaacs\fR and he'll delete the
record from the registry so that you can re\-add it.
.
.P
If you break your \fB.npmrc\fR file, but you remember your password, you can put your
user auth back by using the \fBbase64\fR program like so:
.
.IP "" 4
.
.nf
npm config set auth $( echo user:pass | base64 )
.
.fi
.
.IP "" 0