How to Fix bash: viddy: command not found in Minimal Linux Distributions

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:

  1. Open ~/.bashrc in a text editor:
    nano ~/.bashrc
  2. Ensure the following line is present:
    export PATH=$PATH:$(go env GOPATH)/bin:/usr/local/bin
  3. Save changes, reload the shell with source ~/.bashrc, and test running viddy date to confirm functioning terminal history scrubbing.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.