diff --git a/pages/common/npm-login.md b/pages/common/npm-login.md new file mode 100644 index 0000000000..2e03830b55 --- /dev/null +++ b/pages/common/npm-login.md @@ -0,0 +1,16 @@ +# npm login + +> Login to a registry user account. +> More information: . + +- Login to a registry user account and save the credentials to the `.npmrc` file: + +`npm login` + +- Login, using a custom registry: + +`npm login --registry={{registry_url}}` + +- Login, using a specific authentication strategy: + +`npm login --auth-type={{legacy|web}}`