The steps for logging in to your company’s npm Enterprise registry will depend how you configured your npm registry settings.
Logging in with your default registry set to your company’s npm Enterprise registry
- On the command line, type the following command:
- When prompted, provide your SSO credentials.
Logging in with npmrc
- On the command line, switch to your npm Enterprise profile:
- Run the following command:
- When prompted, provide your SSO credentials.
- On the command line, type the following command:
npm login --registry=https://registry.company-name.npme.io
- When prompted, provide your SSO credentials.