cheat
brew install cheat
v5.1.0
MIT
Create and view interactive cheat sheets for *nix commands
186
30-day installs · #2698
683
90-day · #2570
3.2k
365-day · #2347
13.4k
★ GitHub stars · updated 3mo ago
Build dependencies
GitHub topics
bash
cheat
cheatsheet
cheatsheets
documentation
help
interactive-cheatsheets
man-page
Links
- https://github.com/cheat/cheat
- GitHub: cheat/cheat
- Brew formula source: Formula/c/cheat.rb
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [
"go"
],
"categories": [],
"caveats": null,
"conflicts_with": [
"bash-snippets"
],
"dependencies": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Create and view interactive cheat sheets for *nix commands",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:36:20+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "cheat",
"github_default_branch": "master",
"github_last_commit_at": "2026-05-19T16:11:23Z",
"github_readme_excerpt": "\n\n# cheat\n\n`cheat` allows you to create and view interactive cheatsheets on the\ncommand-line. It was designed to help remind \\*nix system administrators of\noptions for commands that they use frequently, but not frequently enough to\nremember.\n\n\n\nUse `cheat` with [cheatsheets][].\n\n## Example\nThe next time you\u0027re forced to disarm a nuclear weapon without consulting\nGoogle, you may run:\n\n```sh\ncheat tar\n```\n\nYou will be presented with a cheatsheet resembling the following:\n\n```sh\n# To extract an uncompressed archive:\ntar -xvf \u0027/path/to/foo.tar\u0027\n\n# To extract a .gz archive:\ntar -xzvf \u0027/path/to/foo.tgz\u0027\n\n# To create a .gz archive:\ntar -czvf \u0027/path/to/foo.tgz\u0027 \u0027/path/to/foo/\u0027\n\n# To extract a .bz2 archive:\ntar -xjvf \u0027/path/to/foo.tgz\u0027\n\n# To create a .bz2 archive:\ntar -cjvf \u0027/path/to/foo.tgz\u0027 \u0027/path/to/foo/\u0027\n```\n\n## Installing\nFor installation and configuration instructions, see [INSTALLING.md][].\n\n## Usage\nTo view a cheatsheet:\n\n```sh\ncheat tar # a \"top-level\" cheatsheet\ncheat foo/bar # a \"nested\" cheatsheet\n```\n\nTo edit a cheatsheet:\n\n```sh\ncheat -e tar # opens the \"tar\" cheatsheet for editing, or creates it if it does not exist\ncheat -e foo/bar # nested cheatsheets are accessed like this\n```\n\nTo view the configured cheatpaths:\n\n```sh\ncheat -d\n```\n\nTo list all available cheatsheets:\n\n```sh\ncheat -l\n```\n\nTo briefly list all cheatsheets (names and tags only):\n\n```sh\ncheat -b\n```\n\nTo list all cheatsheets that are tagged with \"networking\":\n\n```sh\ncheat -l -t networking\n```\n\nTo list all cheatsheets on the \"personal\" path:\n\n```sh\ncheat -l -p personal\n```\n\nTo search for the phrase \"ssh\" among cheatsheets:\n\n```sh\ncheat -s ssh\n```\n\nTo search (by regex) for cheatsheets that contain an IP address:\n\n```sh\ncheat -r -s \u0027(?:[0-9]{1,3}\\.){3}[0-9]{1,3}\u0027\n```\n\nFlags may be combined in intuitive ways. Example: to sea",
"github_repo": "cheat/cheat",
"github_stars": 13373,
"github_topics": [
"bash",
"cheat",
"cheatsheet",
"cheatsheets",
"documentation",
"help",
"interactive-cheatsheets",
"man-page"
],
"homepage": "https://github.com/cheat/cheat",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 186,
"installs_365d": 3198,
"installs_90d": 683,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "MIT",
"llm_generated_at": null,
"llm_model": null,
"name": "cheat",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 2698,
"rank_365d": 2347,
"rank_90d": 2570,
"raw_hash": "2c50d49953b989c9",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/c/cheat.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": "HEAD",
"version_stable": "5.1.0",
"versioned_formulae": [],
"why_use_this": null
}