Install Tealdeer on Ubuntu 24.04

Install Tealdeer on Ubuntu 24.04

For users of Linux, command line documentation is often accessed via man pages. These pages can be lengthy and sometimes overwhelming for quick reference. TLDR (Too long; didn't read) pages are concise guides for command line tools, offering the most frequently used and practical examples for each command. Tealdeer is a fast and lightweight command line client written in Rust that fetches TLDR-style pages. This tutorial explains how to install Tealdeer on Ubuntu 24.04.

Install Tealdeer

Download the latest Tealdeer binary and place it in the system path:

sudo wget -qO /usr/local/bin/tealdeer https://github.com/tealdeer-rs/tealdeer/releases/latest/download/tealdeer-linux-x86_64-musl

Set execute permission:

sudo chmod a+x /usr/local/bin/tealdeer

We can verify installation by checking Tealdeer version:

tealdeer --version

Download and cache pages using the command:

tealdeer --update

Testing Tealdeer

Execute tealdeer followed by the command name you want to look up, using this format:

tealdeer <COMMAND>

For example, to see TLDR page for the mkdir command:

tealdeer mkdir
TLDR page for mkdir command using Tealdeer on Ubuntu

Uninstall Tealdeer

If you no longer need Tealdeer, you can remove the binary:

sudo rm -rf /usr/local/bin/tealdeer

Delete cache:

rm -rf ~/.cache/tealdeer

Leave a Comment

Cancel reply

Your email address will not be published.