Files
cheatsheet-tldr/tldr/npm-logout
2025-04-23 00:19:06 +00:00

19 lines
390 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# npm logout
> Log out of the registry user account.
> See also: `npm login` for logging in.
> More information: <https://docs.npmjs.com/cli/commands/npm-logout>.
- Log out of the registry user account:
`npm logout`
- Log out using a custom registry:
`npm logout --registry {{registry_url}}`