A TLDR pages client written in Babashka
Babashka, Fast native Clojure scripting runtime.
On macOS:
brew install borkdude/brew/babashka
Copy this command tldr.clj
to a directory in your path. (~/bin, /usr/local/bin or somewhere)
chmod 755 tldr.clj
cp tldr.clj /usr/local/bin
tldr.clj
usage: tldr.clj [OPTION]... PAGE
available commands:
-h, --help print this help and exit
-p, --platform PLATFORM select platform, supported are linux / osx / sunos / windows / common
-u, --update update local database
-v, --version print version and exit
-c, --clear-cache clear local database
-V, --verbose display verbose output
-l, --list list all entries in the local database
--random display a random command
Examples:
tldr.clj tar
tldr.clj du --platform=osx
tldr.clj --list
tldr.clj --random
To control the cache:
tldr.clj --update
tldr.clj --clear-cache
- tldr - Simplified and community-driven man pages
- tldr-c-client - C command-line client for tldr pages
- tldr-node-client - Node.js command-line client for tldr pages
- tldr-php - PHP Client for tldr
- tldr-planck - A planck (ClojureScript) based command-line client for TLDR pages
Copyright (c) 2025 hisaitami
Distributed under the terms of the MIT License