# 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}}`
