cheat.sh

github.com/chubin/cheat.sh Linux & Mac Apps Open-source projectOpen source

cheat.sh provides a command-line and web interface to programming and command-line examples.

github.com/chubin/cheat.sh
cheat.sh homepage screenshot

About cheat.sh

cheat.sh is an open-source project that provides command-line and web access to programming and command-line examples. It covers 56 programming languages, several DBMSes, and more than 1000 UNIX/Linux commands. Users can query it with curl, a browser, or supported code editors; a command-line client called cht.sh is optional. The service can be used without installation, installed for offline use, or self-hosted with Docker. It supports keyword search with ~KEYWORD and special pages such as :list and :learn.

Answers for programming queries are generated on the fly from available cheat sheets and StackOverflow, and the documentation states there is no guarantee that a returned cheat sheet will be a 100% hit.

Key features

  • Query cheat sheets via curl, browser, or editor interfaces.
  • Covers 56 programming languages, several DBMSes, 1000+ UNIX/Linux commands.
  • Supports ~KEYWORD search and :list, :learn special pages.
  • Generates programming answers on the fly from cheat sheets and StackOverflow.
  • Optional command-line client cht.sh with tab-completion and stealth mode.
  • Can be self-hosted via Docker for offline usage.
Best for: Developers and system administrators who need quick command-line and programming reference examples without leaving their terminal or editor.
Good for
  • No installation needed for basic access via HTTP/HTTPS or browser.
  • Can be installed for offline usage or self-hosted with Docker.
  • Editor integrations exist for Vim, Emacs, VS Code, Sublime, IntelliJ IDEA, QT Creator.
Watch out for
  • Generated cheat sheets for programming queries are not guaranteed to be a 100% hit.

cheat.sh at a glance

Type
Open-source project
Pricing
Not confirmed. Check the site
Open source
Yes · Source code
Language
English
Last checked
Oct 6, 2026 · Online when checked
Listed
Oct 5, 2026

cheat.sh alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 24 alternatives

Popular in Linux & Mac Apps

Well-known listings from the same topic.

All 196

cheat.sh FAQ

How do I query a cheat sheet from the command line?
Use curl or another HTTP/HTTPS client with the command name, for example curl cheat.sh/tar.
What if I do not know the name of the command I need?
Use the ~KEYWORD notation to search, for example curl cht.sh/~snapshot.
Can cheat.sh be used offline?
Yes, it can be installed for offline usage and can also be self-hosted with Docker.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing