cheat Plugin
Create and view command-line cheatsheets. Community-driven reference for hundreds of commands.
Commands
Viewing
cheat sheet view tar— View cheatsheet fortarcheat sheet view git— View cheatsheet forgitcheat sheet view docker— View cheatsheet fordocker
Listing
cheat sheets list— List all available cheatsheetscheat sheets list-brief— List names and tags onlycheat sheets list -t networking— Filter by tag
Searching
cheat sheets search ssh— Search for "ssh" across cheatsheetscheat sheets search '(?:[0-9]{1,3}\.){3}[0-9]{1,3}' --regex— Search by regex
Tags
cheat tags list— List all tags in use
Full Access
cheat _ _— Passthrough (edit, init, rm, etc.)
Usage Examples
- "How do I use the tar command?"
- "Show me docker cheatsheet"
- "Search for ssh-related commands"
- "List all available cheatsheets"
- "Find cheatsheets tagged with networking"
Installation
brew install cheat
yes | cheat --init # download community cheatsheets
Key Features
- Non-interactive: All commands print to stdout — perfect for agents
- Community cheatsheets: 200+ cheatsheets for common commands
- Search: Keyword and regex search across all sheets
- Tags: Organize cheatsheets by topic (networking, git, docker, etc.)
- Custom sheets: Create your own personal cheatsheets
- Go binary: Single file, no runtime dependencies