Installation
witr ships as a single static binary with no runtime dependencies. Pick whichever route fits your machine.
If you use a package manager, prefer it — updates come with the rest of your system. Community packages sometimes lag the GitHub releases, since each ecosystem reviews independently.
Package managers#
Homebrew (macOS and Linux)
brew install witrAPT (Debian, Ubuntu and derivatives)
Available in the official repositories from Ubuntu 26.04 and Debian sid onward, plus derivatives like Kali, Devuan and Raspbian.
sudo apt install witrThe apt version may lag the latest release. For the newest features, use the install script.
Conda, mamba or pixi (all platforms)
conda install -c conda-forge witr
mamba install -c conda-forge witr
pixi global install witrArch Linux (AUR)
yay -S witr-bin
paru -S witr-binWinget or Scoop (Windows)
winget install -e --id PranshuParmar.witr
scoop install main/witrChocolatey (Windows)
choco install witrMacPorts (macOS)
sudo port install witrFreeBSD Ports
pkg install witrnpm (all platforms)
npm install -g @pranshuparmar/witrGuix, AOSC, uniget, aqua, brioche, mise
guix install witr
oma install witr
uniget install witr
aqua g -i pranshuparmar/witr && aqua i pranshuparmar/witr
brioche install -r witr
mise use github:pranshuparmar/witrInstall script#
The fastest route if you do not use a package manager.
Unix (Linux, macOS, FreeBSD)
curl -fsSL https://raw.githubusercontent.com/pranshuparmar/witr/main/install.sh | bashThe script detects your OS and CPU architecture, downloads the latest released binary and man page, installs to /usr/local/bin/witr, and puts the man page in /usr/local/share/man/man1/. Override the location with INSTALL_PREFIX.
Windows (PowerShell)
irm https://raw.githubusercontent.com/pranshuparmar/witr/main/install.ps1 | iexDownloads and checksum-verifies the latest release, extracts witr.exe to %LocalAppData%\witr\bin, and adds that directory to your user PATH.
From source#
go install github.com/pranshuparmar/witr/cmd/witr@latestThe binary lands in $GOPATH/bin or $HOME/go/bin. Make sure that directory is on your PATH.
Run without installing#
nix run github:pranshuparmar/witr -- --help
pixi exec witr --helpPrebuilt packages#
Native .deb, .rpm and .apk packages are attached to every GitHub release.
sudo apt install ./witr-*.deb
sudo rpm -i ./witr-*.rpm
sudo apk add --allow-untrusted ./witr-*.apkVerify and finish setup#
witr --version
man witrTab completion works in bash, zsh, fish and PowerShell:
echo 'eval "$(witr completion bash)"' >> ~/.bashrc
echo 'eval "$(witr completion zsh)"' >> ~/.zshrc
witr completion fish > ~/.config/fish/completions/witr.fishUninstall#
If you installed through a package manager, use its uninstall command (brew uninstall witr and so on). For a script or manual install:
sudo rm -f /usr/local/bin/witr /usr/local/share/man/man1/witr.1Remove-Item -Recurse -Force "$env:LocalAppData\witr"Next: run your first trace, or explore the interactive TUI.