---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# cheat

> Create and view interactive cheat sheets.
> More information: <https://github.com/cheat/cheat/blob/master/doc/cheat.1.md>.

- Show example usage of a command:

`cheat {{command}}`

- Edit the cheat sheet for a command:

`cheat {{[-e|--edit]}} {{command}}`

- List the available cheat sheets:

`cheat {{[-l|--list]}}`

- Search available the cheat sheets for a specified command name:

`cheat {{[-s|--search]}} {{command}}`

- Display version:

`cheat {{[-v|--version]}}`
