thombashi / install-gh

Simple one-liner installer of gh (cli/cli) from the release assets.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

install-gh

Summary

Simple one-liner installer of gh (cli/cli) from the release assets without package management tools.

Tests

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

About

Simple one-liner installer of gh (cli/cli) from the release assets.

License:MIT License


Languages

Language:Shell 94.5%Language:Makefile 5.5%