VOOZH about

URL: https://classic.yarnpkg.com/en/docs/cli/logout

⇱ yarn logout | Yarn


Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

yarn logout

Clear registry username and email.

yarn logout

This will remove your stored username and email for the npm registry as setup by yarn login. You do need to run this to de-authenticate, registry actions are individually authenticated.