# Installer cheat avec Homebrew, dnf, MacPorts, Nix, zypper, scoop

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de cheat pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:cheat
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install cheat
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install cheat
```

  Preuve: MacPorts ports tree: devel/cheat/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- dnf (92%):

```sh
sudo dnf install cheat
```

  Preuve: Fedora Rawhide package metadata: cheat from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#cheat
```

  Preuve: nixpkgs package indexes: pkgs/by-name/ch/cheat/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install cheat
```

  Preuve: openSUSE Tumbleweed package metadata: cheat from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/cheat
```

  Preuve: Scoop official bucket manifest trees: bucket/cheat.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Faits du paquet

- **Clé du paquet:** brew:cheat
- **Gestionnaire de paquets:** Homebrew
- **Version:** 5.1.0
- **Résumé source:** Create and view interactive cheat sheets for *nix commands
- **Page d'accueil:** <https://github.com/cheat/cheat>
- **Dépôt:** <https://github.com/cheat/cheat>
- **Dernière mise à jour:** 2026-07-25T14:20:49-04:00
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- cheat (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 5.1.0
## Historique du projet et usages

cheat is a command-line cheatsheet viewer and editor for Unix-style command reference, designed for commands that administrators use often enough to need quick reminders but not often enough to memorize.

### Historique du projet

The GitHub repository was created in July 2013. The README describes a CLI that reads plain-text cheatsheets, supports personal and community cheatpaths, can edit sheets, and can search or filter by name, regex, path, and tags.

### Historique d'adoption

cheat grew beyond a single executable into an ecosystem around the cheat/cheatsheets repository, which was created in October 2019 for community-sourced sheets. The official installation guide lists manual binaries, `go install`, and packages for AUR, Homebrew, Docker, Nix, and Snap; the batch input also records MacPorts, Fedora, openSUSE, Scoop, and other package-manager coverage.

### Modes d'utilisation

Typical use is `cheat tar` or another command name to print examples, `cheat -e` to edit or create a sheet, `cheat -l` or `cheat -b` to list sheets, and `cheat -s` or `cheat -r -s` to search sheet contents.

### Pourquoi les passionnés de paquets s'y intéressent

cheat matters to CLI/package-manager culture because it turns command examples into local, editable, packageable data. Its XDG config, generated shell completions, community sheet repository, and broad package-manager availability make it a familiar small tool in terminal setup lists.

### Chronologie

- 2013: GitHub repository created.
- 2019: cheat/cheatsheets repository created for community-sourced sheets.
- 2019: 3.0.0 release published on GitHub.
- 2026: Current installation docs describe 5.0.0 release binaries.

### Related projects

- cheat/cheatsheets provides community-sourced cheatsheets used by the tool.
- Chroma is used for syntax highlighting according to the README.
- The project overlaps culturally with man pages, tldr-style pages, and shell-completion-driven command reference tools.

### Sources

- <https://github.com/cheat/cheat>
- <https://github.com/cheat/cheat/blob/master/INSTALLING.md>
- <https://api.github.com/repos/cheat/cheat>
- <https://api.github.com/repos/cheat/cheatsheets>


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.config/cheat/conf.yml, path set by CHEAT_CONFIG_PATH
## Autres enregistrements de gestionnaires de paquets

- Nix - cheat: normalized package name match | nixpkgs package indexes: pkgs/by-name/ch/cheat/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- dnf - cheat - 4.4.2-15.fc45: normalized package name match | Fedora Rawhide package metadata: cheat from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Help for various commands and their use cases | https://github.com/cheat/cheat
- dnf - cheat-bash-completion - 4.4.2-15.fc45: normalized package name match | Fedora Rawhide package metadata: cheat-bash-completion from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Bash completion support for cheat | https://github.com/cheat/cheat
- dnf - cheat-community-cheatsheets - 4.4.2-15.fc45: normalized package name match | Fedora Rawhide package metadata: cheat-community-cheatsheets from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Cheatsheets created by community for cheat | https://github.com/cheat/cheatsheets
- dnf - cheat-fish-completion - 4.4.2-15.fc45: normalized package name match | Fedora Rawhide package metadata: cheat-fish-completion from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Fish completion support for cheat | https://github.com/cheat/cheat
- dnf - cheat-zsh-completion - 4.4.2-15.fc45: normalized package name match | Fedora Rawhide package metadata: cheat-zsh-completion from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Zsh completion support for cheat | https://github.com/cheat/cheat
- zypper - cheat - 5.1.0-2.3: normalized package name match | openSUSE Tumbleweed package metadata: cheat from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Allows you to create and view interactive cheatsheets on the command-line | https://github.com/cheat/cheat
- MacPorts - cheat: normalized package name match | MacPorts ports tree: devel/cheat/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/cheat: normalized package name match | Scoop official bucket manifest trees: bucket/cheat.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/cheat.yml](https://github.com/mxcl/pkgdb/blob/main/combined/cheat.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
