chore(docs): update INSTALLING.md (#677)

Update `INSTALLING.md` with more package information. See: #677
This commit is contained in:
Christopher Allen Lane 2022-08-26 12:34:30 -04:00
parent 2d635293c5
commit 2717044b62

View File

@ -35,12 +35,13 @@ go install github.com/cheat/cheat/cmd/cheat@latest
### Install via package manager ### Install via package manager
Several community-maintained packages are also available: Several community-maintained packages are also available:
Package manager | Installing Package manager | Package(s)
---------------- | ----------- ---------------- | -----------
[brew][] | `brew install cheat` aur | [cheat][pkg-aur-cheat], [cheat-bin][pkg-aur-cheat-bin]
[docker][] | `alias cheat='docker run --rm bannmann/docker-cheat'` brew | [cheat][pkg-brew]
[nix][] | `nix-env -iA nixos.cheat` docker | [docker-cheat][pkg-docker]
[snap][] | `snap install cheat` nix | [nixos.cheat][pkg-nix]
snap | [cheat][pkg-snap]
<!--[pacman][] |--> <!--[pacman][] |-->
@ -67,11 +68,12 @@ specifies its path:
export CHEAT_CONFIG_PATH="~/.dotfiles/cheat/conf.yml" export CHEAT_CONFIG_PATH="~/.dotfiles/cheat/conf.yml"
``` ```
[brew]: https://formulae.brew.sh/formula/cheat [cheatpaths]: README.md#cheatpaths
[cheatpaths]: README.md#cheatpaths [community]: https://github.com/cheat/cheatsheets/
[community]: https://github.com/cheat/cheatsheets/ [pkg-aur-cheat-bin]: https://aur.archlinux.org/packages/cheat-bin
[docker]: https://github.com/bannmann/docker-cheat [pkg-aur-cheat]: https://aur.archlinux.org/packages/cheat
[nix]: https://search.nixos.org/packages?channel=unstable&show=cheat&from=0&size=50&sort=relevance&type=packages&query=cheat [pkg-brew]: https://formulae.brew.sh/formula/cheat
[pacman]: # [pkg-docker]: https://github.com/bannmann/docker-cheat
[releases]: https://github.com/cheat/cheat/releases [pkg-nix]: https://search.nixos.org/packages?channel=unstable&show=cheat&from=0&size=50&sort=relevance&type=packages&query=cheat
[snap]: https://snapcraft.io/cheat [pkg-snap]: https://snapcraft.io/cheat
[releases]: https://github.com/cheat/cheat/releases