1NPM-PROFILE(1)                                                  NPM-PROFILE(1)
2
3
4

NAME

6       npm-profile - Change settings on your registry profile
7

SYNOPSIS

9         npm profile get [--json|--parseable] [<property>]
10         npm profile set [--json|--parseable] <property> <value>
11         npm profile set password
12         npm profile enable-2fa [auth-and-writes|auth-only]
13         npm profile disable-2fa
14

DESCRIPTION

16       Change your profile information on the registry.  This not be available
17       if you're using a non-npmjs registry.
18
19       · npm profile get [<property>]: Display all of the properties  of  your
20         profile, or one or more specific properties.  It looks like:
21
22
23         +-----------------+---------------------------+
24         | name            | example                   |
25         +-----------------+---------------------------+
26         | email           | me@example.com (verified) |
27         +-----------------+---------------------------+
28         | two factor auth | auth-and-writes           |
29         +-----------------+---------------------------+
30         | fullname        | Example User              |
31         +-----------------+---------------------------+
32         | homepage        |                           |
33         +-----------------+---------------------------+
34         | freenode        |                           |
35         +-----------------+---------------------------+
36         | twitter         |                           |
37         +-----------------+---------------------------+
38         | github          |                           |
39         +-----------------+---------------------------+
40         | created         | 2015-02-26T01:38:35.892Z  |
41         +-----------------+---------------------------+
42         | updated         | 2017-10-02T21:29:45.922Z  |
43         +-----------------+---------------------------+
44
45       · npm  profile set <property> <value>: Set the value of a profile prop‐
46         erty. You can set the following properties this way:
47           email, fullname, homepage, freenode, twitter, github
48
49       · npm profile set password: Change your password.  This is interactive,
50         you'll  be  prompted  for  your  current password and a new password.
51         You'll also be prompted for an OTP if you have two-factor authentica‐
52         tion enabled.
53
54       · npm  profile enable-2fa [auth-and-writes|auth-only]: Enables two-fac‐
55         tor authentication. Defaults to auth-and-writes mode. Modes are:
56
57       · auth-only: Require an OTP when logging in or making changes  to  your
58         account's  authentication.  The OTP will be required on both the web‐
59         site and the command line.
60
61       · auth-and-writes: Requires an OTP at all the times auth-only does, and
62         also  requires  one  when  publishing  a  module,  setting the latest
63         dist-tag, or changing access via npm access and npm owner.
64
65
66       · npm profile disable-2fa: Disables two-factor authentication.
67
68

DETAILS

70       All of the npm profile subcommands accept --json  and  --parseable  and
71       will  tailor  their  output based on those.  Some of these commands may
72       not be available on non npmjs.com registries.
73

SEE ALSO

75       · npm help 7 config
76
77
78
79
80                                  April 2019                    NPM-PROFILE(1)
Impressum