npm-{login,logout}: update page (#14857)
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
# npm login
|
||||
|
||||
> Login to a registry user account.
|
||||
> Log in to a registry user account.
|
||||
> See also: `npm logout` for logging out.
|
||||
> More information: <https://docs.npmjs.com/cli/commands/npm-login>.
|
||||
|
||||
- Login to a registry user account and save the credentials to the `.npmrc` file:
|
||||
- Log in to a registry user account and save the credentials to the `.npmrc` file:
|
||||
|
||||
`npm login`
|
||||
|
||||
- Login using a custom registry:
|
||||
- Log in using a custom registry:
|
||||
|
||||
`npm login --registry={{registry_url}}`
|
||||
|
||||
- Login using a specific authentication strategy:
|
||||
- Log in using a specific authentication strategy:
|
||||
|
||||
`npm login --auth-type={{legacy|web}}`
|
||||
|
@@ -1,13 +1,13 @@
|
||||
# npm logout
|
||||
|
||||
> Logout of the registry user account.
|
||||
> Log out of the registry user account.
|
||||
> See also: `npm login` for logging in.
|
||||
> More information: <https://docs.npmjs.com/cli/commands/npm-logout>.
|
||||
|
||||
- Logout of the registry user account:
|
||||
- Log out of the registry user account:
|
||||
|
||||
`npm logout`
|
||||
|
||||
- Logout using a custom registry:
|
||||
- Log out using a custom registry:
|
||||
|
||||
`npm logout --registry={{registry_url}}`
|
||||
|
Reference in New Issue
Block a user