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

When searching for quick, practical command-line examples without wading through dense traditional man pages, Linux administrators frequently turn to tealdeer, an ultra-fast, single-binary Rust implementation of the tldr specification. On newly provisioned cloud servers or minimal Linux container images, invoking the tool returns bash: tealdeer: command not found or bash: tldr: command not found.

Install tealdeer via Native Package Repositories

Deploy the package directly through your distribution’s native package manager:

  • Arch Linux: sudo pacman -S tealdeer
  • Fedora: sudo dnf install tealdeer
  • Alpine Linux: sudo apk add tealdeer
  • Void Linux: sudo xbps-install -S tealdeer
  • Debian / Ubuntu: Install via Snap: sudo snap install tealdeer

Download Pre-compiled Standalone Binary Release

For Debian, Ubuntu, CentOS, or Rocky Linux servers without Snap, fetch the official static musl binary directly into system PATH:

TLDR_VER=$(curl -s https://api.github.com/repos/tealdeer-rs/tealdeer/releases/latest | grep 'tag_name' | cut -d '"' -f 4)
curl -sL "https://github.com/tealdeer-rs/tealdeer/releases/download/${TLDR_VER}/tealdeer-linux-x86_64-musl" -o /usr/local/bin/tldr
sudo chmod +x /usr/local/bin/tldr

Update Local Page Cache and Create Alias

Before first use, populate the local offline documentation cache by executing:

tldr --update

If your package installed the binary under the name tealdeer rather than tldr, add a permanent alias to your shell profile (alias tldr='tealdeer') in ~/.bashrc.

Get the best tech tips delivered straight to your inbox.

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