Skip to content

Install

You can install snoop, a single binary for macOS, Linux and Windows, in any of these ways.

Run this on macOS or Linux:

curl -fsSL https://jzills.github.io/snoop/install.sh | sh

The script picks the build for your machine, checks it against the release’s SHA256SUMS, and installs it to ~/.local/bin without sudo.

VariableEffect
SNOOP_INSTALL_DIRinstall somewhere other than ~/.local/bin
SNOOP_VERSIONinstall a given release, such as v0.1.0, instead of the newest

Release builds cover Linux and macOS on amd64 and arm64. Elsewhere, the script stops and suggests installing with Go. On Windows, use the PowerShell script on the Windows tab.

Check it works

snoop --version

If your shell says snoop isn’t found, the install directory isn’t on your PATH. For the install script, add ~/.local/bin:

echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc   # or ~/.bashrc

Update and uninstall

Run the same install command again to update; it replaces the binary in place. To uninstall, use the package manager you installed with (such as npm uninstall -g snoop-cli or pipx uninstall snoop-cli), or delete the binary, and optionally the cache described in What snoop reads and writes:

rm ~/.local/bin/snoop

Next

The Quickstart covers opening and following a session.