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.

© 2016–present Yarn Contributors
Licensed under the BSD License.
https://yarnpkg.com/en/docs/cli/logout