npm login
Log in to a registry user account. See also:
npm logout. More information: https://docs.npmjs.com/cli/npm-login/.
- Log in to a registry user account and save the credentials to the
.npmrcfile:
npm login
- Log in using a custom registry:
npm login --registry
- Log in using a specific authentication strategy:
npm login --auth-type
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
