cheat.sh is a unified cheat sheet service that aggregates community-driven documentation for programming languages, databases, and Unix/Linux commands accessible via curl, browser, or command-line client.
The tool solves the problem of fragmented technical documentation by centralizing access to curated cheat sheets from multiple sources. It works by providing a simple HTTP interface where users query for command or topic names and receive concise, practical examples. The service covers programming languages, database systems, and over a thousand Unix/Linux commands, returning results within milliseconds. Users can access it through curl without installation, use a dedicated command-line client called cht.sh, integrate it into code editors, or self-host it for offline usage.
The tool suits developers who want quick reference material without context-switching to a browser or documentation site. It works well for those who spend significant time in the terminal and value speed and minimal distraction. The stealth mode feature allows completely invisible usage without keyboard interaction or sound, making it suitable for environments where discrete reference-checking matters. Self-hosting options and editor integrations mean it can fit into various workflows, from Vim and Emacs to Visual Studio Code and IntelliJ IDEA.
The project maintains active community contributions through multiple cheat sheet repositories and accepts submissions for new content and repositories. The codebase is written in Python and includes support for tab completion in Bash and ZSH shells. Docker support is available for those preferring containerized deployment. The tool provides search functionality for discovering relevant commands by keyword when the exact name is unknown.