Uninstallation

Remove the kapsl binary

rm ~/.local/bin/kapsl

Remove shims

Shims are symlinks in ~/.local/bin that point to the kapsl binary. List them first:

kapsl --list

Remove each shim:

rm ~/.local/bin/<tool-name>

Remove cached data

kapsl keeps state in three places: configuration in ~/.config/kapsl/, regenerable caches (tool index, scan verdicts, the grype database) in ~/.cache/kapsl/, and your security decisions (accepted scans, trusted projects) in ~/.local/share/kapsl/.

To reclaim disk without uninstalling, use the built-in command — it knows what is safe to remove and what is not:

kapsl --status         # what is on disk, by category
kapsl --clean cache    # drop every regenerable cache

To remove everything, including your security decisions:

rm -rf ~/.config/kapsl/ ~/.cache/kapsl/ ~/.local/share/kapsl/

Remove cached container images

Cached container images are managed by your container runtime, not by kapsl. To free that space:

# Remove all images pulled by kapsl (environment images)
kapsl --clean

# Remove all images from Podman entirely (affects other uses too)
podman rmi --all

Remove the PATH entry

Remove the ~/.local/bin export from your ~/.bashrc or ~/.zshrc if you added it for kapsl and no longer need it.