klim remove
klim remove uninstalls tools using the package manager they were
originally installed from (detected via the klim list scan), or the
--source you specify. Falls back to OS-priority when the installed
source isn’t recorded. Source precedence overall matches
klim install.
klim remove [tool...] [flags]At least one positional tool name or --pack is required.
Behavior per target
Section titled “Behavior per target”| State | Outcome |
|---|---|
| Installed | remove |
| Not installed | skipped (not_installed) |
klim itself | refused — use the OS uninstaller for klim |
| Not in catalog | reported, skipped |
The self-protection refuses to remove the binary named klim, so
klim remove klim never runs the underlying package manager.
Same as klim install:
--source, --pack (repeatable), --dry-run, --yes/-y,
--refresh, --output.
Examples
Section titled “Examples”# Remove a single toolklim remove jq
# Remove every installed tool in a packklim remove --pack go-developer --yes
# Pin the package managerklim remove jq fzf --source brew --dry-runExit codes
Section titled “Exit codes”Same as klim install: 0 OK, 1 runtime error, 2 usage error,
3 partial failure.