SageOx

The hivemind for agentic engineering

Maintenance

Keep your ox CLI up to date, check version info, and cleanly remove SageOx when needed.

Check your version

terminal
$

Shows the installed version, build date, and commit hash.

For machine-readable output:

terminal
$

Upgrade ox

terminal
$

The CLI detects how it was installed and uses the appropriate upgrade method:

Install methodUpgrade command
Homebrewbrew upgrade ox
go installgo install github.com/sageox/ox@latest
Manual downloadDownloads latest binary from GitHub

The --json flag outputs upgrade status in JSON format for scripting.

View release notes

terminal
$

Displays release notes for the currently installed version.

FlagDescription
--latestShow notes for the latest available version
--rawOutput raw markdown without formatting

Uninstall ox from a repository

terminal
$

Removes SageOx from the current repository. The command prompts for confirmation before making changes.

What gets removed

ArtifactDescription
.sageox/Configuration, cache, and daemon files
Git hooksSageOx-installed prepare-commit-msg and post-commit hooks
.claude/settings.local.jsonAgent integration settings (SageOx keys only)
CLAUDE.md / AGENTS.mdRemoves ox agent prime references

Non-SageOx git hooks and user configurations are preserved. The CLI identifies SageOx-specific content and removes only that.

Flags

FlagDescription
--dry-runShow what would be removed without making changes
--forceSkip confirmation prompt
--local-onlyRemove local artifacts only (skip server deregistration)
--user-integrationsAlso remove user-level integration hooks
--allRemove from all repositories in the current directory tree

Preview changes first

terminal
$

This shows exactly what will be removed without making any changes.

Clean reinstall

To start fresh with a clean SageOx setup:

terminal
# Remove existing installation
$
# Re-initialize
$
# Verify setup
$

Uninstall the CLI binary

ox uninstall removes SageOx from repositories. To remove the ox CLI itself:

Install methodRemoval command
Homebrewbrew uninstall ox
go installrm $(go env GOPATH)/bin/ox
ManualDelete the binary from your PATH

Global credentials are stored in ~/.config/sageox/. Remove this directory to clear all authentication data.

What's next

  • ox doctor - Diagnose setup issues after reinstalling
  • ox init - Re-initialize a repository
  • ox login - Re-authenticate if needed