DevOps engineers and system administrators troubleshooting Linux infrastructure frequently rely on viddy, a modern, feature-rich replacement for the classic Unix watch command. Written in Go, viddy provides high-precision execution intervals, visual colourised diff highlighting, interactive paging, and time-machine history scrubbing. In fresh server images or minimal cloud container environments (Ubuntu Server, Debian Minimal, Alpine Linux), invoking the command results in: bash: viddy: command not found because minimal distros do not bundle third-party Go utilities in base installations.
Install viddy via GitHub Binary Release
The cleanest and fastest installation method across Ubuntu, Debian, and CentOS involves deploying the official release binary:
# Download latest viddy release binary
VIDDY_VER=$(curl -s "https://api.github.com/repos/sachaos/viddy/releases/latest" | grep -Po '"tag_name": "v\K[^"]*')
curl -Lo viddy.tar.gz "https://github.com/sachaos/viddy/releases/latest/download/viddy_v${VIDDY_VER}_Linux_x86_64.tar.gz"
tar -xzf viddy.tar.gz viddy
sudo install viddy /usr/local/bin/
viddy --version
Install via Package Managers
Depending on your active distribution and package tooling:
Arch Linux
sudo pacman -S viddy
Homebrew on Linux
brew install viddy
Via Go Toolchain
go install github.com/sachaos/viddy@latest
Verify Shell PATH Configuration
If you installed via go install, verify that your Go bin directory is included in your active shell PATH:
- Open
~/.bashrcin a text editor:nano ~/.bashrc - Ensure the following line is present:
export PATH=$PATH:$(go env GOPATH)/bin:/usr/local/bin - Save changes, reload the shell with
source ~/.bashrc, and test runningviddy dateto confirm functioning terminal history scrubbing.