CLICommands
ox uninstall
Completely remove SageOx from the current repository: the .sageox directory, git hooks, and agent integration files.
This is a destructive operation and cannot be undone.
Usage
terminal
$
What it removes
- The
.sageox/directory and all its contents - Git hooks (
prepare-commit-msgand others) - Agent integration files (
.claude/settings.jsonand similar) - The
ox agent primeentry fromAGENTS.md/CLAUDE.md - User-level integration hooks, when
--user-integrationsis set
Files tracked in git are unstaged but left in the working tree unless you explicitly request their removal.
If several endpoints are configured, you can pick which one to uninstall from, or pass --all to remove them all.
Examples
Preview the changes without touching anything:
terminal
$
Remove from every configured endpoint without a prompt:
terminal
$
Flags
| Flag | Description |
|---|---|
--all | Uninstall from all configured endpoints |
--dry-run | Preview what would be removed without making changes |
--force | Skip the confirmation prompt for non-interactive use |
--local-only | Skip the cloud notification (doesn't require login, but cloud resources won't be cleaned up) |
--user-integrations | Also remove user-level integration hooks |

