On this page
obi uninstall
Remove obi and everything it left on your computer, after you confirm.
obi uninstall removes obi and what installing and using it left behind.
Shell
obi uninstall [--keep-config] [--yes]
It lists everything it will remove and asks before changing anything:
- obi itself, when you installed it with the install script
- its tab completion
- the lines the install script added to your shell's startup file, marked "Added by the obi installer". Anything else in the file stays as it is.
- your saved contexts. Every session in them is signed out first, so no working sign-in is left behind.
Shell
obi uninstall # list, ask, then remove
obi uninstall --keep-config # keep your contexts and sign-ins for a reinstall
obi uninstall --yes # no question, for scripts
Without a terminal to ask at, obi uninstall changes nothing unless you pass
--yes. Open a new terminal afterwards so your shell forgets obi too.
API keys you signed in with keep working after obi is gone. Revoke them under Preferences, Workspace access tokens if you no longer need them. See API Keys.
Installed with npm
If you installed obi with npm or pnpm, obi uninstall removes everything else
and then prints the command that removes obi itself, for example:
Shell
npm uninstall -g @obistack/cli