CmdID

CmdID / Commands

npm-adduser

Add a registry user account. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Create a new user in the specified registry and save credentials to .npmrc

npm adduser --registry registry_urlIdentify

Log in to a private registry with a specific scope

npm login --scope @organization --registry https://registry.example.comIdentify

Log out from a specific scope and remove the auth token

npm logout --scope @organizationIdentify

Create a scoped package during initialization

npm init --scope @organization --yesIdentify