https://github.com/marverix/gah
gah is an GitHub Releases app installer, that does not require sudo
https://github.com/marverix/gah
cli github-releases installer
Last synced: about 1 year ago
JSON representation
gah is an GitHub Releases app installer, that does not require sudo
- Host: GitHub
- URL: https://github.com/marverix/gah
- Owner: marverix
- License: gpl-3.0
- Created: 2024-12-03T17:51:25.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-12-17T11:10:06.000Z (over 1 year ago)
- Last Synced: 2025-03-29T17:09:14.170Z (about 1 year ago)
- Topics: cli, github-releases, installer
- Language: Shell
- Homepage:
- Size: 558 KB
- Stars: 147
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

`gah` is an GitHub Releases app installer, that **DOES NOT REQUIRE SUDO**! It is a simple bash script that downloads the latest release of an app from GitHub and installs it in `~/.local/bin`. It is designed to be used with apps that are distributed as a single binary file.
Features:
- Downloads the latest or given release of an app from GitHub
- Automatically selects matching binary for the current platform
- Supported OS: Linux and MacOS
- Supported architectures: x64 and ARM64
- Supports multiple matching apps in a single GitHub Release
- Supports archived (`.zip`, `.tar.gz`, `.tar.bz2`, `.tar.xz`) and single binary releases
- Has own base of predefined aliases for GitHub repositories (PRs are welcome!)
## Installation
```bash
bash -c "$(curl -fsSL https://raw.githubusercontent.com/marverix/gah/refs/heads/master/tools/install.sh)"
```
## Usage

Type `gah help` to see the list of available commands.
```text
gah
install []
show
help
version
```
## Examples
### Install latest version of gh (GitHub CLI)
```bash
gah install gh
```
### Install specific version of argocd
```bash
gah install argocd v2.0.3
```
### Install an app that is not in the predefined aliases
```bash
gah install hashicorp/vagrant
```
## License
gah is licensed under the GPL-3.0 License. See [LICENSE](./LICENSE) for the full license text.