npm-logout
removes authentication token
TLDR
Logout from npm
$ npm logout
Logout from specific registry$ npm logout --registry=[https://registry.example.com]
Logout from scope$ npm logout --scope=[@myorg]
SYNOPSIS
npm logout [options]
DESCRIPTION
npm logout removes authentication token. Logs out from npm registry.
The command clears credentials. Affects specified registry or default.
PARAMETERS
--registry URL
Registry to logout from.--scope SCOPE
Scoped registry.--help
Display help information.
CAVEATS
Removes token from .npmrc. Per-registry logout. Affects publishing.
HISTORY
npm logout provides authentication management for npm registry access.
SEE ALSO
npm(1), npm-login(1), npm-whoami(1)
