From c10c49328e1ba5a7e40f0028ec59481291ee7bea Mon Sep 17 00:00:00 2001 From: jylenhof Date: Fri, 19 Dec 2025 14:17:13 +0100 Subject: [PATCH] docs(install): add mise alternative method installation Signed-off-by: jylenhof --- docs/install_linux.md | 14 ++++++++++++++ docs/install_macos.md | 14 ++++++++++++++ docs/install_windows.md | 14 ++++++++++++++ 3 files changed, 42 insertions(+) diff --git a/docs/install_linux.md b/docs/install_linux.md index 383616a4618..c9338481d0c 100644 --- a/docs/install_linux.md +++ b/docs/install_linux.md @@ -322,6 +322,20 @@ Or via [mport(1)](http://man.midnightbsd.org/cgi-bin/man.cgi/mport): mport install gh ``` +### Mise + +You can install github cli on Linux using [mise](https://github.com/jdx/mise), the polyglot tool versions manager with a command like this: + +```bash +mise use -g gh@latest +``` + +OR (alias) + +```bash +mise use -g github-cli@latest +``` + ### NetBSD/pkgsrc The [GitHub CLI package](https://pkgsrc.se/net/gh) is supported by the NetBSD community with updates powered by [NetBSD/pkgsrc](https://github.com/NetBSD/pkgsrc/tree/trunk/net/gh). diff --git a/docs/install_macos.md b/docs/install_macos.md index 14d68d96c6c..5462aebbe2c 100644 --- a/docs/install_macos.md +++ b/docs/install_macos.md @@ -86,6 +86,20 @@ To upgrade: sudo port selfupdate && sudo port upgrade gh ``` +### Mise + +You can install github cli on MacOS using [mise](https://github.com/jdx/mise), the polyglot tool versions manager with a command like this: + +```bash +mise use -g gh@latest +``` + +OR (alias) + +```bash +mise use -g github-cli@latest +``` + ### Spack [Spack](https://spack.io/) is a flexible package manager supporting multiple versions, configurations, platforms, and compilers for supercomputers, Linux, and macOS. diff --git a/docs/install_windows.md b/docs/install_windows.md index 88ddc99b8d3..3baa91e0e36 100644 --- a/docs/install_windows.md +++ b/docs/install_windows.md @@ -66,6 +66,20 @@ To upgrade: conda update gh --channel conda-forge ``` +### Mise + +You can install github cli on Windows using [mise](https://github.com/jdx/mise), the polyglot tool versions manager with a command like this: + +```bash +mise use -g gh@latest +``` + +OR (alias) + +```bash +mise use -g github-cli@latest +``` + ### Scoop The [GitHub CLI bucket](https://scoop.sh/#/apps?q=gh) is supported by the Scoop community with updated powered by [ScoopInstaller/Main](https://github.com/ScoopInstaller/Main/blob/master/bucket/gh.json).