Uninstall

Clean removal of tirith — shell hooks, binary, and data.

01Remove Shell Hook

Remove the tirith init hook line from your shell configuration:

ShellConfig File
zsh~/.zshrc
bash~/.bashrc
fish~/.config/fish/config.fish
PowerShell$PROFILE

02Remove Binary

Homebrew

shell
$ brew uninstall tirith

npm

shell
$ npm uninstall -g tirith

Cargo

shell
$ cargo uninstall tirith

Scoop (Windows)

shell
$ scoop uninstall tirith

Chocolatey (Windows)

shell
$ choco uninstall tirith

AUR (Arch Linux)

shell
$ pacman -Rns tirith
# or: yay -Rns tirith
# or: paru -Rns tirith

Debian / Ubuntu (.deb)

shell
$ sudo dpkg -r tirith

Fedora / RHEL / CentOS (.rpm)

shell
$ sudo dnf remove tirith
# or for older systems: sudo yum remove tirith

Nix

shell
$ nix profile remove github:sheeki03/tirith

Docker

shell
$ docker rmi ghcr.io/sheeki03/tirith

asdf

shell
$ asdf uninstall tirith
$ asdf plugin remove tirith

Oh-My-Zsh plugin

shell
# Remove "tirith" from plugins in ~/.zshrc, then:
$ rm -rf ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/tirith

03Remove Data

Tirith stores data in XDG-compliant directories:

Linux

shell
# Remove config (policy, allowlist, blocklist)
$ rm -rf ~/.config/tirith
 
# Remove data (audit log, receipts, hooks, last_trigger)
$ rm -rf ~/.local/share/tirith

macOS

shell
$ rm -rf ~/Library/Application\ Support/tirith
$ rm -rf ~/Library/Preferences/tirith

Windows (PowerShell)

powershell
> Remove-Item -Recurse "$env:LOCALAPPDATA\tirith"
> Remove-Item -Recurse "$env:APPDATA\tirith"