📝 added install instruction for windows

This commit is contained in:
Alessandro Digilio 2024-03-29 11:53:02 +01:00
parent 7908a678df
commit e0bf351e70

View File

@ -21,8 +21,13 @@ You may need to need to change the version number (`4.4.2`) and the archive
See the [releases page][releases] for a list of supported platforms. See the [releases page][releases] for a list of supported platforms.
#### Windows #### Windows
TODO: community support is requested here. Please open a PR if you'd like to ### Install via chocolatey
contribute installation instructions for Windows.
from an elevated powershell with chocolatey package manager installed
```powershell
choco install cheat
```
### Install via `go install` ### Install via `go install`
If you have `go` version `>=1.17` available on your `PATH`, you can install If you have `go` version `>=1.17` available on your `PATH`, you can install
@ -42,6 +47,7 @@ brew | [cheat][pkg-brew]
docker | [docker-cheat][pkg-docker] docker | [docker-cheat][pkg-docker]
nix | [nixos.cheat][pkg-nix] nix | [nixos.cheat][pkg-nix]
snap | [cheat][pkg-snap] snap | [cheat][pkg-snap]
chocolatey | [cheat][pkg-choco]
<!--[pacman][] |--> <!--[pacman][] |-->
@ -76,4 +82,5 @@ export CHEAT_CONFIG_PATH="~/.dotfiles/cheat/conf.yml"
[pkg-docker]: https://github.com/bannmann/docker-cheat [pkg-docker]: https://github.com/bannmann/docker-cheat
[pkg-nix]: https://search.nixos.org/packages?channel=unstable&show=cheat&from=0&size=50&sort=relevance&type=packages&query=cheat [pkg-nix]: https://search.nixos.org/packages?channel=unstable&show=cheat&from=0&size=50&sort=relevance&type=packages&query=cheat
[pkg-snap]: https://snapcraft.io/cheat [pkg-snap]: https://snapcraft.io/cheat
[pkg-choco]: https://community.chocolatey.org/packages/cheat
[releases]: https://github.com/cheat/cheat/releases [releases]: https://github.com/cheat/cheat/releases