Skip to main content

uninstall

Function uninstall 

Source
pub fn uninstall(dry_run: bool, yes: bool) -> Result<()>
Expand description

Reverse setup and the installer: strip the completion line we added, delete the man page, and remove the config/receipt directory. The binary is reported (with its removal command) rather than deleted - a running exe cannot reliably unlink itself, and package-manager installs must go through their manager. Per-repo stk.* config and branch metadata are left alone.