Uninstall
This guide covers a full cleanup of Ash.
What This Removes
- Ash background service registration (if installed)
- Running Ash service processes
- Sandbox containers and optional sandbox image
- Ash state directory:
ASH_HOME(or~/.ashby default) - Optional source checkout and environment
- Optional package-managed CLI install
Resolve Your Ash Home Path
Ash stores state under:
$ASH_HOMEif set- Otherwise
~/.ash
Check the exact directory before deletion:
echo "${ASH_HOME:-$HOME/.ash}"Full Uninstall Steps
-
Stop Ash service/processes
Terminal window uv run ash service stopuv run ash service status -
Uninstall auto-start service registration
Terminal window uv run ash service uninstall -
Clean sandbox artifacts
Terminal window uv run ash sandbox clean --force -
Remove Ash state directory (guarded)
Terminal window TARGET="${ASH_HOME:-$HOME/.ash}"test -d "$TARGET" && printf 'Removing %s\n' "$TARGET"rm -rf -- "$TARGET"
Optional: Remove Source Checkout + Virtual Environment
If you installed from source and no longer want the checkout:
# Example only: replace with your actual checkout pathREPO_DIR="$HOME/src/ash"test -d "$REPO_DIR" && printf 'Removing %s\n' "$REPO_DIR"rm -rf -- "$REPO_DIR"Optional: Remove Package-Managed Install
If you installed ash as a tool or package (instead of source checkout), remove it with the same tool you used to install:
# uv tool flowuv tool uninstall ash
# pip/pipx flowpip uninstall ashpipx uninstall ashVerify Cleanup
Run these checks:
uv run ash service statusuv run ash sandbox statustest -d "${ASH_HOME:-$HOME/.ash}" || echo "Ash state removed"Expected outcomes:
- Service is stopped/uninstalled
- Sandbox containers/image are removed (or not present)
- Ash state directory no longer exists