cheat
CLI tool for creating and viewing interactive command-line cheatsheets with tagging and search capabilities
cheat is a command-line utility that allows users to create, view, and manage interactive cheatsheets for frequently-used commands. It addresses the common problem of remembering command syntax and options for tools that are used regularly but not often enough to memorize. Users can view existing cheatsheets with cheat tar, edit them with cheat -e tar, and search across all sheets using text or regex patterns.
The tool supports organizing cheatsheets across multiple "cheatpaths" - directories that can be configured as read-only (for community sheets) or writable (for personal notes). Cheatsheets are plain text files that can include YAML frontmatter for syntax highlighting via Chroma and tag-based categorization. Users can search by tags (cheat -l -t networking), filter by path, and combine multiple search criteria.
cheat includes directory-scoped functionality that automatically discovers .cheat directories in the current working directory or its ancestors, similar to git's behavior. This allows project-specific cheatsheets to be available from any subdirectory within a project. The tool also generates shell completions for bash, zsh, fish, and PowerShell, with dynamic completion of cheatsheet names, tags, and cheatpath names.

Alternatives & related tools
Slides
Terminal presentation tool that renders markdown files as slides, with in-slide code execution, pre-processing, live reload, and SSH serving.
WTF
Terminal dashboard (wtfutil) that shows data from services like GitHub, Google Calendar, Trello and OpsGenie in configurable modules.
gopass
Command-line password manager compatible with pass, supporting GPG encryption, Git versioning, and team collaboration
Ticker
Terminal stock, crypto, and derivatives price watcher with position tracking, cost basis lots, currency conversion, and grouped watchlists.
Pop
Send emails from the terminal via a TUI or CLI flags, using Resend or SMTP, with Markdown bodies, attachments, and AI agent skill support.
add a badge to your README
Maintain cheat? Show that it's featured on trmn. The badge links back to this page.
[](https://www.trmn.sh/tools/cheat?utm_source=badge)<a href="https://www.trmn.sh/tools/cheat?utm_source=badge"><img src="https://www.trmn.sh/badge/cheat.svg" alt="Featured on trmn" height="20"></a>