Excellent Utilities: cheat.sh – community driven cheat sheet

This is a series highlighting best-of-breed utilities. We’re covering a wide range of utilities including tools that boost your productivity, help you manage your workflow, and lots more besides. There’s a complete list of the tools in this series in the Summary section.

Erik Karlsson, one of our regular contributors, has curated the finest free books that help you learn whatever programming language takes your fancy. There’s everything covered from C, C++, Java, Python, R, and much more. Link: Excellent Free Books to Master Programming.

The books offer an exceptional amount of information. But sometimes you’ll need some very specific information that you can access instantly. Erik is currently curating his recommendations for high quality free programming tutorials. But until they’re ready, we are showcasing a utility that offers an alternative to programming tutorials. Step forward cheat sheets with cheat.sh.

What makes cheat.sh special? It offers unified access to the best community driven cheat sheets repositories of the world. cheat.sh uses selected community driven cheat sheet repositories and information sources, maintained by thousands of users, developers and authors all over the world. Besides covering 58 programming languages, it also offers cheat sheets for more than 1,000 Linux commands, and access to information from Stack Overflow.


You don’t need to install cheat.sh to a local machine. The script has a curl/browser interface, so you can access the cheat sheets providing you have a working net connection.

But it’s also possible to install a command line client (cht.sh) which offers additional flexibility.

Installing cht.sh on your local system is very straightforward. Just type at a shell prompt:

$ curl https://cht.sh/:cht.sh | sudo tee /usr/local/bin/cht.sh
$ sudo chmod +x /usr/local/bin/cht.sh

You’ll need to install rlwrap and xsel with your distro’s package manager if they’re not already installed. On my Arch system, I typed:

$ sudo pacman -S rlwrap xsel

After the installation, cht.sh can be used locally, without accessing the public cheat.sh service. The cht.sh client has its configuration file located at ~/.cht.sh/cht.sh.conf. Use it to specify the query options that you want to use with each query.

Next page: Page 2 – In Operation

Pages in this article:
Page 1 – Introduction / Installation
Page 2 – In Operation
Page 3 – Operating System Commands & Stealth mode
Page 4 – Summary

Complete list of articles in this series:

Excellent Utilities
tmuxA terminal multiplexer that offers a massive boost to your workflow
lnavAdvanced log file viewer for the small-scale; great for troubleshooting
PaperworkDesigned to simplify the management of your paperwork
AbricotineMarkdown editor with inline preview functionality
mdlessFormatted and highlighted view of Markdown files
fkillKill processes quick and easy
TuskAn unofficial Evernote client with bags of potential
UlauncherSublime application launcher
McFlyNavigate through your bash shell history
LanguageToolStyle and grammar checker for 30+ languages
pecoSimple interactive filtering tool that's remarkably useful
Liquid PromptAdaptive prompt for Bash & Zsh
AnanicyShell daemon created to manage processes’ IO and CPU priorities
cheat.shCommunity driven unified cheat sheet
ripgrepRecursively search directories for a regex pattern
exaA turbo-charged alternative to the venerable ls command
OCRmyPDFAdd OCR text layer to scanned PDFs
WatsonTrack the time spent on projects
fontpreviewQuickly search and preview fonts
fdWonderful alternative to the venerable find
Share this article

Share your Thoughts

This site uses Akismet to reduce spam. Learn how your comment data is processed.