yarn npm logout — Yarn CLI reference
Remove credentials for an npm registry
Docs/Reference/CLI/npm/logout
yarn npm logout
Remove credentials for an npm registry
yarn npm logout
This command edits the home configuration file to remove credentials linked to a registry. It never edits project configuration.
Use -s,--scope to remove credentials stored for a scope.
Use --publish to remove credentials for the publish registry.
Use -A,--all to remove credentials for all registries and scopes.
Remove credentials for the registry configured for this scope
Remove credentials for the publish registry