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 | shThe script picks the build for your machine, checks it against the release’s SHA256SUMS, and installs it to ~/.local/bin without sudo.
| Variable | Effect |
|---|---|
SNOOP_INSTALL_DIR | install somewhere other than ~/.local/bin |
SNOOP_VERSION | install 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 --versionIf 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 ~/.bashrcUpdate 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/snoopNext
The Quickstart covers opening and following a session.