Installer tldr pages : mettre à jour le cache, lire des exemples, vs man
Installer tldr, rafraîchir le cache, lire les exemples, savoir quand utiliser man.
Les pages man sont complètes but slow to scan when you only need a copy-paste example. The tldr pages project collects community-maintained cheatsheets; clients expose the tldr command. Ce guide couvre installation macOS/Linux/Windows, cache via tldr --update, lire des exemples, comparaison man/--help pour les lecteurs de hereink.
The query is how to install tldr pages update cache and read command examples. You should finish with tldr on PATH, an updated local cache, commands like tldr git working, and a clear split between tldr and man.
Ce que tldr règle
Examples first
tldr tar shows common archive commands in a few lines; man tar is the full manual. Best when you know the tool name but not the flags.
Beside rg and bat
After tldr kubectl, paste into scripts and debug with ripgrep or HTTPie from our other guides. tldr does not replace deep flag documentation.
Page source:
github.com/tldr-pages/tldr, sitetldr.sh. Popular Rust clienttealdeer(binarytldr); Node and Python clients also ship atldrcommand.
Installer un client tldr
- 1macOS (Homebrew, tealdeer)
brew install tealdeer. Verify withwhich tldrandtldr --version. Pick one client—avoid two differenttldrbinaries fighting on PATH. - 2Linux
Arch:
pacman -S tealdeer. Others: distro packages orcargo install tealdeer. Alternative:npm install -g tldr. See Clients ontldr.sh. - 3Windows
scoop install tealdeerorchoco install tealdeer; ornpm install -g tldr. New terminal, thentldr --version. - 4First fetch
Many clients download pages on first query; you can also run
tldr --updateup front. ConfigureHTTP_PROXYif needed.
Mettre à jour le cache (tldr --update)
tldr --update
tldr --list
tldr --infoPages merge daily on GitHub. If update fails, check network, disk permissions, and GitHub reachability. Do not install unofficial page bundles.
Lire des exemples simplifiés
tldr tar
tldr git commit
tldr --platform linux curl
tldr --list | head
tldr -s archiveEach block is a short description plus a command line. Replace placeholders like path/to/file before running against production systems.
tldr vs man / --help
| Goal | tldr | man / --help |
|---|---|---|
| Common recipes | tldr ffmpeg | man is long; --help is often flags-only |
| Full options & defaults | Usually omitted | man 1 tar, tool --help |
| Subcommands | Often separate pages | One long man page |
| Offline | After cache update | Depends on man-db |
| Contribute | PR to tldr-pages | Upstream docs |
- Convient
- Forgotten flags, README examples, unfamiliar servers, alongside gh, jq, and ripgrep.
- Ne convient pas
- Security-sensitive tools where every flag matters—read official man pages first.
tldr vs cheat?
cheat is for personal or team sheets; tldr pages are a shared, formatted corpus. Both can coexist.
Page not found?
Run tldr --update. Still missing means no page yet—use man or search github.com/tldr-pages/tldr, or contribute a page.
tealdeer or npm tldr?
tealdeer is fast and common on macOS/Linux. npm client fits Node-heavy setups. Keep one tldr first on PATH.
Ensuite, aligner sur un tableau
Deploy steps and service edges still belong on a shared canvas. See créer un espace.