lift uninstall
Uninstall a tool from the server by running the uninstall lifecycle hook with optional force cleanup.
lift uninstall
Uninstall a tool from the server. Reads the tool state from the server, then runs the uninstall lifecycle hook. Supports force cleanup when the state file or tool definition is missing.
Options
| Flag | Description | Default |
|---|---|---|
--force | Force uninstall even if the hook fails or state is missing. Runs basic cleanup (docker compose down -v and directory removal). | false |
--name <instance> | Instance name for multi-instance tools | - |
Examples
# Standard uninstall
lift uninstall postgresql
# Uninstall a named instance
lift uninstall postgresql --name pg-analytics
# Force uninstall when state is corrupted
lift uninstall redis --force
Related
- lift install - Install a tool on the server