Troubleshooting supawho
Find the message you see below. Each heading is the text supawho or your system prints.
Account '<name>' not found. Run 'supawho list' to see saved accounts.
Section titled “Account '<name>' not found. Run 'supawho list' to see saved accounts.”No account is saved under that name. Names are case-sensitive, so Work and work are different accounts. Run supawho list to see the exact names, or supawho rename to fix one.
supawho: the macOS Keychain is locked, so your accounts can't be read or saved.
Section titled “supawho: the macOS Keychain is locked, so your accounts can't be read or saved.”The login keychain is locked, which usually happens over SSH or in a session without a graphical login. Unlock it, then run the command again:
security unlock-keychain ~/Library/Keychains/login.keychain-dbLinux: Cannot create an item in a locked collection
Section titled “Linux: Cannot create an item in a locked collection”Your keyring is locked, or no Secret Service provider is running. Unlock the login keyring (GNOME Keyring or KWallet) and try again. On a server without a desktop session, see headless machines.
supawho: exec: "supabase": executable file not found in $PATH
Section titled “supawho: exec: "supabase": executable file not found in $PATH”supawho switches accounts by running the Supabase CLI, and it can’t find it. Install the Supabase CLI and check that supabase --version works in the same terminal. On Windows the message ends with %PATH%.
(token is invalid or revoked) in supawho whoami
Section titled “(token is invalid or revoked) in supawho whoami”Supabase rejected that account’s token: it was deleted or has expired. Create a new one in Supabase Dashboard → Access Tokens, then save it under the same name. Adding an existing name replaces its token:
supawho addThe Supabase CLI still acts as another account after supawho use
Section titled “The Supabase CLI still acts as another account after supawho use”Check whether SUPABASE_ACCESS_TOKEN is set in that terminal:
echo "$SUPABASE_ACCESS_TOKEN"When the variable is set, the Supabase CLI uses it instead of the stored login, so switching has no visible effect. Unset it (unset SUPABASE_ACCESS_TOKEN) and look for it in your shell profile or a .env / .envrc file.
Account name may not contain commas or whitespace.
Section titled “Account name may not contain commas or whitespace.”Pick a name without spaces or commas, for example client-a instead of client a.
supawho was installed via Homebrew (run: brew upgrade supawho).
Section titled “supawho was installed via Homebrew (run: brew upgrade supawho).”Not an error. supawho was installed through a package manager, so supawho upgrade leaves the update to it. Run the command it suggests. The same applies to .deb, .rpm and .apk installs.
Unknown command: <name>
Section titled “Unknown command: <name>”Run supawho help for the list of commands, or see the command reference.
Still stuck?
Section titled “Still stuck?”Open an issue on GitHub with the command you ran, the full output, your OS and the output of supawho version. Never paste an access token into an issue.
