Look up Unix command flags and syntax without opening a browser.
Get quick code examples in Python, Go, or 54 other programming languages.
Check database query syntax or command options while coding.
Integrate cheat sheet lookups directly into Vim, Emacs, or VS Code workflows.
cheat.sh is a unified cheat sheet service that gives you instant, concise answers about command-line tools and programming languages without ever leaving your terminal. The problem it solves is simple: developers constantly need to look up how a specific command works, what flags it accepts, or how to do something in a particular programming language, and traditionally that means opening a browser and searching through lengthy documentation pages. cheat.sh collapses all of that into a single, fast lookup. The way it works is elegantly simple. You query it using the standard curl command that most systems already have, pointing at cheat.sh or the shorter cht.sh with a topic appended. For example, typing curl cht.sh/tar returns a concise, practical cheat sheet for the tar command. For programming questions you add the language namespace, such as curl cht.sh/python/lambda, and it returns code examples with comments. If no pre-written cheat sheet exists for your query, the service generates an answer on the fly by combining community cheat sheet repositories with answers sourced from StackOverflow. You can install an optional command-line client called cht.sh that adds features like shell history, tab completion for bash and zsh, and a special stealth mode that lets you look things up without anyone noticing. The service also integrates with popular code editors including Vim, Emacs, and VS Code. You would reach for cheat.sh whenever you forget how to use a specific Unix command, need a quick Python or Go code snippet, or want to check syntax without breaking your focus by switching to a browser. It covers over 56 programming languages, more than 1000 Unix and Linux commands, and several databases. The project is written in Python and runs as a hosted web service, though it can be self-hosted using Docker.
Generated 2026-05-18 · Model: sonnet-4-6 · Verify against the repo before relying on details.