---
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/npm-logout/>.

- Log out of the registry user account:

`npm logout`

- Log out using a custom registry:

`npm logout --registry {{registry_url}}`
