summaryrefslogtreecommitdiff
path: root/deps/npm/docs/content/cli-commands/npm-adduser.md
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/docs/content/cli-commands/npm-adduser.md')
-rw-r--r--[-rwxr-xr-x]deps/npm/docs/content/cli-commands/npm-adduser.md14
1 files changed, 6 insertions, 8 deletions
diff --git a/deps/npm/docs/content/cli-commands/npm-adduser.md b/deps/npm/docs/content/cli-commands/npm-adduser.md
index 0eaf63c408..2df35e45fc 100755..100644
--- a/deps/npm/docs/content/cli-commands/npm-adduser.md
+++ b/deps/npm/docs/content/cli-commands/npm-adduser.md
@@ -4,7 +4,7 @@ title: npm-adduser
description: Set access level on published packages
---
-# npm-adduser
+# npm-adduser(1)
## Add a registry user account
@@ -20,7 +20,7 @@ aliases: login, add-user
Create or verify a user named `<username>` in the specified registry, and
save the credentials to the `.npmrc` file. If no registry is specified,
-the default registry will be used (see [`npm-config`](npm-config)).
+the default registry will be used (see [`config`](/using-npm/config)).
The username, password, and email are read in from prompts.
@@ -43,19 +43,19 @@ Default: https://registry.npmjs.org/
The base URL of the npm package registry. If `scope` is also specified,
this registry will only be used for packages with that scope. `scope` defaults
-to the scope of the project directory you're currently in, if any. See [`npm-scope`](/docs/using-npm/scope).
+to the scope of the project directory you're currently in, if any. See [`scope`](/using-npm/scope).
#### scope
Default: none
If specified, the user and login credentials given will be associated
-with the specified scope. See [`npm-scope`](/docs/using-npm/scope). You can use both at the same time,
+with the specified scope. See [`scope`](/using-npm/scope). You can use both at the same time,
e.g.
```bash
npm adduser --registry=http://myregistry.example.com --scope=@myco
-```
+```
This will set a registry for the given scope and login or create a user for
that registry at the same time.
@@ -75,9 +75,7 @@ registries. Can be used with `--registry` and / or `--scope`, e.g.
This will ensure that all requests to that registry (including for tarballs)
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 `always-auth` in [`npm-config`](/docs/using-npm/config) for more details on
-always-auth. Registry-specific configuration of `always-auth` takes precedence
-over any global configuration.
+different hostnames. See `always-auth` in [`config`](/using-npm/config) for more details on always-auth. Registry-specific configuration of `always-auth` takes precedence over any global configuration.
#### auth-type