You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: deps/npm/docs/content/commands/npm-adduser.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,8 @@ Create a new user in the specified registry, and save the credentials to
20
20
the `.npmrc` file. If no registry is specified, the default registry
21
21
will be used (see [`registry`](/using-npm/registry)).
22
22
23
+
When you run `npm adduser`, the CLI automatically generates a legacy token of `publish` type. For more information, see [About legacy tokens](/about-access-tokens#about-legacy-tokens).
24
+
23
25
When using `legacy` for your `auth-type`, the username, password, and
0 commit comments