📚 Collaborative cheatsheets for console commands

Borworntat Dendumrongkul 19fefb8f84 cls: add Thai translation (#8568) 2 years ago
.github 0fbe2488eb workflows/*: add security hardening (#8518) 2 years ago
.husky db46da960d deps: upgrade husky to v7.0.1 (#6207) 3 years ago
contributing-guides 1bb198bc94 style-guide: fix links (#8496) 2 years ago
images 8b531c09bb CONTRIBUTING, git-terminal: explain common contrib issues (#7107) 3 years ago
pages 02d60bf0ee pint: add page (#8558) 2 years ago
pages.ar 1f610a952e Sync more information links with all translations (#8256) 2 years ago
pages.bn 1f610a952e Sync more information links with all translations (#8256) 2 years ago
pages.bs 1f610a952e Sync more information links with all translations (#8256) 2 years ago
pages.ca 1f610a952e Sync more information links with all translations (#8256) 2 years ago
pages.da 9abb079afb replace `man.archlinux.org` with `manned.org` 3 years ago
pages.de 1cc58e38ae *: update German translation (#8331) 2 years ago
pages.es bfaefffd9c docker-compose: update command to v2 (#8481) 2 years ago
pages.fa 1f610a952e Sync more information links with all translations (#8256) 2 years ago
pages.fr 999854f9ae adb-logcat, atuin: add French translation (#8570) 2 years ago
pages.hi 88ece48dd6 Update clear.md (#8556) 2 years ago
pages.id 54a4ec4d55 htop: add Indonesian translation (#8561) 2 years ago
pages.it bfaefffd9c docker-compose: update command to v2 (#8481) 2 years ago
pages.ja 1f610a952e Sync more information links with all translations (#8256) 2 years ago
pages.ko bfaefffd9c docker-compose: update command to v2 (#8481) 2 years ago
pages.ml 1f147d6b91 pacman: use short options only (#8286) 2 years ago
pages.ne 1f610a952e Sync more information links with all translations (#8256) 2 years ago
pages.nl 1f610a952e Sync more information links with all translations (#8256) 2 years ago
pages.no 1f610a952e Sync more information links with all translations (#8256) 2 years ago
pages.pl 1f610a952e Sync more information links with all translations (#8256) 2 years ago
pages.pt_BR 6b246bfa6d javac: fix path; java: update Tamil translation (#8455) 2 years ago
pages.pt_PT 1f147d6b91 pacman: use short options only (#8286) 2 years ago
pages.ro 24ba08b5ed todoist: add page (#6361) 3 years ago
pages.ru 2652667b8e ed: add Russian translation (#7943) 2 years ago
pages.sh 16e4ed5c89 bash, dash, fish, ksh, rbash, sh, zsh: refresh (#5714) 3 years ago
pages.sr 68c22b8396 cd, echo, git, link, mkdir: add Serbian translation (#6692) 3 years ago
pages.sv 1f610a952e Sync more information links with all translations (#8256) 2 years ago
pages.ta 1f78c727c5 pages.ta/*: update Tamil translation (#8467) 2 years ago
pages.th 19fefb8f84 cls: add Thai translation (#8568) 2 years ago
pages.tr bfaefffd9c docker-compose: update command to v2 (#8481) 2 years ago
pages.uk 1f610a952e Sync more information links with all translations (#8256) 2 years ago
pages.uz b99f3da787 *: update links via set-more-info-link.py (#7611) 3 years ago
pages.zh daa9ce3df5 adb-logcat: add Chinese translation (#8545) 2 years ago
pages.zh_TW 1f610a952e Sync more information links with all translations (#8256) 2 years ago
scripts adf4448df8 set-more-info-link.py: add Catalan translation (#7797) 3 years ago
.editorconfig a7724b7c2f .editorconfig: set trim_trailing_whitespace to false (#7958) 2 years ago
.flake8 3fa29ea1c2 tooling: add black and flake8 for python formatting/linting (#6454) 3 years ago
.gitattributes bc369e36ca Update .gitattributes to force GH linguist to recognize pages (#5663) 3 years ago
.gitignore 5980dfdf29 .gitignore: add .idea to ignored files (#8033) 2 years ago
.markdownlintrc aa34bdd68b markdownlint: increase maximum line length to 250 5 years ago
CLIENT-SPECIFICATION.md 9ac1ffd5ca CLIENT-SPECIFICATION: Add entry to unreleased changelog (#7806) 3 years ago
COMMUNITY-ROLES.md 6713d2f2fe COMMUNITY-ROLES: fix link (#7500) 3 years ago
CONTRIBUTING.md 3648227344 contributing(doc): fix typo 'simpliest' -> 'simplest' (#8420) 2 years ago
GOVERNANCE.md 0c9f1209d1 GOVERNANCE.md, CONTRIBUTING.md: add inclusive language blurb (#4516) 4 years ago
LICENSE.md a66723d2c5 docs: update references to 'main' branch 3 years ago
MAINTAINERS.md dbfe297c23 MAINTAINERS: add @CairnThePerson to collaborators (#8439) 2 years ago
README.md 9b1c80c556 README: add suggestion to contribute with requested pages (#8165) 2 years ago
package-lock.json f8d78df90d package-lock.json: bump minimist from 1.2.5 to 1.2.6 (#7928) 3 years ago
package.json 6fe5cd71fd package.json: update dependencies (#7779) 3 years ago
requirements.txt 8f25ac9cf5 fix CI issues (#7937) 2 years ago

README.md

tldr-pages

[![Build status][github-actions-image]][github-actions-url] [![Gitter chat][gitter-image]][gitter-url] [![Merged PRs][prs-merged-image]][prs-merged-url] [![GitHub contributors][contributors-image]][contributors-url] [![license][license-image]][license-url]

What is tldr-pages?

The tldr-pages project is a collection of community-maintained help pages for command-line tools, that aims to be a simpler, more approachable complement to traditional man pages.

Maybe you're new to the command-line world? Perhaps you're just a little rusty or can't always recall the arguments for commands like lsof, or tar?

It certainly doesn't help that the first option explained in man tar is:

-b blocksize
   Specify the block size, in 512-byte records, for tape drive I/O.
   As a rule, this argument is only needed when reading from or writing to tape drives,
   and usually not even then as the default block size of 20 records (10240 bytes) is very common.

There seems to be room for simpler help pages, focused on practical examples. How about:

Animated SVG of the tldr client displaying the tar command.

This repository is just that: an ever-growing collection of examples for the most common UNIX, Linux, macOS, SunOS, Android and Windows command-line tools.

How do I use it?

A popular and convenient way to access these pages on your computer is to install the Node.js client, which is supported by the tldr-pages project maintainers:

npm install -g tldr

Alternatively, you can also use the Python client which can be installed via pip3.

pip3 install tldr

Then you have direct access to simplified, easy-to-read help for commands, such as tar, accessible through typing tldr tar instead of the standard man tar.

If you want an offline version without installing any software, check out the PDF version.

For browsing without installing a client to your computer, see the web client at https://tldr.ostera.io.

There are also various other clients provided by the community, both for the command-line and for other platforms. For a comprehensive list of clients, head over to our Wiki.

How do I contribute to tldr-pages?

All contributions are welcome!

Some ways to contribute include:

  • Adding your favorite command which isn't covered.
  • Adding examples or improving the content of an existing page.
  • Adding requested pages from our issues with the help wanted label.
  • Translating pages into different languages.

All tldr pages are written in markdown, so they can be edited quite easily and changes can be submitted in pull requests here using Git on the command-line or using the GitHub web interface.

We strive to maintain a welcoming and collaborative community. If it's your first time contributing, have a look at the contributing guidelines, and go ahead!

If you'd like to contribute to translations, you can visit https://lukwebsforge.github.io/tldri18n/ to see the overall progress of all translations, and which translations are missing or outdated.

Similar projects

  • Cheat allows you to create and view interactive cheatsheets on the command-line. It was designed to help remind *nix system administrators of options for commands that they use frequently, but not frequently enough to remember.

  • cheat.sh Aggregates cheat sheets from multiple sources (including tldr-pages) into 1 unified interface.

  • devhints Rico's cheatsheets are not just focused on the command-line and include a plethora of other cheatsheets related to programming.

  • eg provides detailed examples with explanations on the command-line. Examples come from the repository, but eg supports displaying custom examples and commands alongside the defaults.

  • kb is a minimalist command-line knowledge base manager. kb can be used to organize your notes and cheatsheets in a minimalist and clean way. It also supports non-text files.

  • navi is an interactive cheatsheet tool, which allows you to browse through specific examples or complete commands on the fly.

  • bropages (deprecated) are a highly readable supplement to man pages. It shows concise, common-case examples for Unix commands. The examples are submitted by the user base, and can be voted up or down; the best entries are what people see first when they look up a command.

What does "tldr" mean?

TL;DR stands for "Too Long; Didn't Read". It originated as Internet slang, where it is used to indicate that a long text (or parts of it) has been skipped as too lengthy. Read more in How-To Geek's article.