Uninstall the SecretHub CLI
Remove the Binary
Using a Package Manager
Package managers have a standardized way of uninstalling packages. So look at the documentation of the package manager you’re using to find out how to uninstall.
To uninstall the
secrethub CLI, delete the installation directory, e.g.
/usr/local/secrethub on Linux and macOS or
C:\Program Files\SecretHub on Windows.
If you have symlinked to the binary from a directory that is on your
PATH environment variable, e.g.
/usr/local/bin, also delete the symlink.
If you have added the
secrethub/bin directory to your
PATH environment variable, remove it from there as well.
To uninstall auto-completion for the CLI, run one of the following commands depending on your shell of choice:
# Uninstall bash completion rm /etc/bash_completion.d/secrethub
# Uninstall zsh completion rm ~/.zsh/completion/secrethub
Remove your SecretHub credential
DANGER ZONE: beware that you are the sole owner of your credential and once you delete it there is no way to recover your credential and the secrets encrypted with it. So think carefully before doing this.
Your SecretHub credential is stored by default at
To remove the credential, simply delete the