SkillHub

logout

Delete the locally stored credential for the current registry.

skillhub logout deletes the credential stored locally for the current registry — from the keychain and/or the file fallback. Only the global flags apply.

If the SKILLHUB_TOKEN environment variable is still set after logout, it remains in effect; the JSON output flags this so you're never surprised by lingering auth.

Synopsis

skillhub logout

Examples

skillhub logout

JSON output

With --json, the data object contains:

  • registryUrl.
  • removed{ keychain (bool), file (bool) }.
  • envTokenActive (bool) — true when an environment token is still in effect after removal.

On this page