Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thombashi/install-gh
Simple one-liner installer of gh (cli/cli) from the release assets.
https://github.com/thombashi/install-gh
gh-cli installer-script
Last synced: 3 months ago
JSON representation
Simple one-liner installer of gh (cli/cli) from the release assets.
- Host: GitHub
- URL: https://github.com/thombashi/install-gh
- Owner: thombashi
- License: mit
- Created: 2022-09-07T07:34:29.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-14T06:21:38.000Z (over 1 year ago)
- Last Synced: 2024-05-17T00:01:47.731Z (8 months ago)
- Topics: gh-cli, installer-script
- Language: Shell
- Homepage:
- Size: 11.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# install-gh
## Summary
Simple one-liner installer of `gh` ([cli/cli](https://github.com/cli/cli/releases)) from the release assets without package management tools.[![Tests](https://github.com/thombashi/install-gh/actions/workflows/tests.yaml/badge.svg)](https://github.com/thombashi/install-gh/actions/workflows/tests.yaml)
## Requirements
- `jq`## Usage
### Install gh: the latest version
```
curl -sS https://raw.githubusercontent.com/thombashi/install-gh/main/setup-gh.sh | sudo sh
```### Install gh: a specific version (tag)
```
curl -sS https://raw.githubusercontent.com/thombashi/install-gh/main/setup-gh.sh | sudo sh -s v2.14.7
```## Supported environments
- Linux
- macOS## Related project
- [thombashi/gh-update](https://github.com/thombashi/gh-update)
- `gh-update` is a `gh` extension that updates the gh to the latest version.