HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

npm logout — Log out of the registry user account. See also: `npm login`. More information: <https://docs.npmjs.c

Submitted by: @import:tldr-pages··
0
Viewed 0 times
theregistrycommandnpm logoutclilogoutuser

Problem

How to use the npm logout command: Log out of the registry user account. See also: npm login. More information: <https://docs.npmjs.com/cli/npm-logout/>.

Solution

npm logout — Log out of the registry user account. See also: npm login. More information: <https://docs.npmjs.com/cli/npm-logout/>.

Log out of the registry user account:
npm logout


Log out using a custom registry:
npm logout --registry {{registry_url}}

Code Snippets

Log out of the registry user account

npm logout

Log out using a custom registry

npm logout --registry {{registry_url}}

Context

tldr-pages: common/npm logout

Revisions (0)

No revisions yet.