One 13 MB binary, zero cheatsheets out of the box
The Windows download is a single zip: cheat-windows-amd64.exe.zip, 5197464 bytes. Unzipping it gives you one file, cheat-windows-amd64.exe, 13882880 bytes, a Go binary with no installer and no runtime to chase. Version 5.1.0. That part is painless.
The pain starts the first time you actually run a query. Type cheat tar on a fresh machine and, instead of a cheatsheet, you get an interactive prompt:
A config file was not found. Would you like to create one now? [Y/n]:
Run it in a script or a non-interactive shell and it has nothing to read, so it exits with SIGTERM before printing anything. There is no cheatsheet bundled, no default fallback, no friendly hint beyond that one question. The tool ships empty on purpose: you are expected to bring your own content.
The config lives in a Windows-specific place
The --init flag prints a full config template to stdout, which you redirect to a file. The template itself reveals the first Windows gotcha: the paths are all C:\Users\User\AppData\Roaming\cheat\cheatsheets\.... Put the config in the Unix convention of ~/.config/cheat/conf.yml and cheat ignores it, then asks the setup question again.
The correct location on Windows is %APPDATA%\cheat\conf.yml. Copy the file there and the interactive prompt goes away. Two cheatsheet paths are enabled by default, both tagged: personal and work. A third, community, is present in the template but commented out. The default pager on Windows is more, the default editor is notepad, and colorize is off by default.
The pager choice matters more than it looks. A long cheatsheet, like tar, fills more than one screen, so cheat pipes it through more and you see a -- More -- prompt instead of the full file. In a script or a captured log that is noise; for interactive use it is fine. If you want the whole sheet in one shot, either set the pager to cat in conf.yml or run with output redirected, because the -- More -- line and the wait for a keypress are both handled by the pager, not by cheat itself. The -b flag sidesteps this entirely by printing only titles and tags, which is what I used to confirm that tar and tarsnap both sit under the community,compression tags.
Community cheatsheets are a manual git clone
To get the cheatsheets most people actually want, you clone a separate repository by hand:
git clone https://github.com/cheat/cheatsheets
That repo is small, 536 KB across 276 files with 2050 stars. After cloning, you uncomment the community block in conf.yml and point its path at your clone. Only then does cheat tar return anything useful. The cheatsheets cover everyday commands: tar, git, head, curl, 7z, and a few hundred more. Each one is plain text with a YAML header and # comment lines above each command.
What a query actually returns, measured
Once configured, lookups are fast. Querying tar took 0.235 seconds and git took 0.229 seconds on a Windows 10 machine, both well under a third of a second. The -l flag listed 282 cheatsheets total: 276 from the community clone plus the ones I added myself under personal.
The output for cheat head is a good example of the format:
# To show the first 10 lines of <file>: head <file> # To show the first <number> lines of <file>: head -n <number> <file> # To show the first <number> bytes of <file>: head -c <number> <file>
Each cheatsheet is a list of # comment followed by the command it describes. There is no search ranking, no fuzzy match, no autocomplete: you name a sheet and it prints the whole file. For a command you half-remember, that is usually enough.
What you have to do yourself
cheat does not write any cheatsheet for you. Your own notes go in personal or work as plain text files with a YAML front matter. I created a mycmd sheet under personal with two commands in it, and cheat mycmd printed both immediately. That is the whole authoring model: a folder of text files, no database, no sync, no sharing.
The trade-off is clear. cheat is a fast, dependency-free viewer for text files you have to curate. If you want a searchable, shared, or automatically-populated reference, this is not it. It substitutes for "I keep forgetting the exact flags for tar" by showing you a cheatsheet the moment you ask, and nothing more.
cheat vs the other quick references
There are three common ways to get flag help fast, and they are not interchangeable. cheat is curated text you or the community wrote; man pages are the full authoritative reference; tldr is a crowd-written simplification. The difference shows in what you give up.
| Tool | Content source | Requires setup | Lookup speed |
|---|---|---|---|
| cheat | text files you curate | yes, config + clone | 0.235 s |
| man page | built into the tool | no | instant, but verbose |
| tldr | community, auto-fetched | client only | similar, network needed |
cheat is the only one of the three that is fully offline and fully yours: nothing is fetched at query time, and nothing changes unless you edit a file. That is also its ceiling. A cheatsheet is only as good as the last person who updated it, and on a fresh install there is no last person yet. The 276-file community repo is a starting point, not a guarantee, and every command outside that list returns No cheatsheet found until you write one.
