User Tools

Site Tools


brew_install_gh

Table of Contents

brew install gh

macOS

Homebrew on macOS

brew search gh

=⇒ Formulae

gh highway

iMac ~ % brew install gh

Running `brew update --auto-update`…

=⇒ Auto-updated Homebrew!

Updated 1 tap (homebrew/core).

=⇒ Downloading https://ghcr.io/v2/homebrew/core/gh/manifests/2.19.0

=⇒ Downloading https://ghcr.io/v2/homebrew/core/gh/blobs/sha256:e9f63325dbbfc3b

=⇒ Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh

=⇒ Pouring gh–2.19.0.monterey.bottle.tar.gz

=⇒ Caveats

zsh completions have been installed to:

/usr/local/share/zsh/site-functions

=⇒ Summary

🍺 /usr/local/Cellar/gh/2.19.0: 145 files, 38.7MB

=⇒ Running `brew cleanup gh`…

Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.

Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).


gh --version

gh version 2.19.0 (2022-11-03)

https://github.com/cli/cli/releases/tag/v2.19.0

iMac ~ % gh --help

Work seamlessly with GitHub from the command line.

USAGE

 gh   [flags]

CORE COMMANDS

 auth:        Authenticate gh and git with GitHub
 browse:      Open the repository in the browser
 codespace:   Connect to and manage codespaces
 gist:        Manage gists
 issue:       Manage issues
 pr:          Manage pull requests
 release:     Manage releases
 repo:        Manage repositories

ACTIONS COMMANDS

 run:         View details about workflow runs
 workflow:    View details about GitHub Actions workflows

ADDITIONAL COMMANDS

 alias:       Create command shortcuts
 api:         Make an authenticated GitHub API request
 completion:  Generate shell completion scripts
 config:      Manage configuration for gh
 extension:   Manage gh extensions
 gpg-key:     Manage GPG keys
 help:        Help about any command
 label:       Manage labels
 search:      Search for repositories, issues, and pull requests
 secret:      Manage GitHub secrets
 ssh-key:     Manage SSH keys
 status:      Print information about relevant issues, pull requests, and notifications across repositories

HELP TOPICS

 actions:     Learn about working with GitHub Actions
 environment: Environment variables that can be used with gh
 exit-codes:  Exit codes used by gh
 formatting:  Formatting options for JSON data exported from gh
 mintty:      Information about using gh with MinTTY
 reference:   A comprehensive reference of all gh commands

FLAGS

 --help      Show help for command
 --version   Show gh version

EXAMPLES

 $ gh issue create
 $ gh repo clone cli/cli
 $ gh pr checkout 321

LEARN MORE

 Use 'gh   --help' for more information about a command.
 Read the manual at https://cli.github.com/manual

FEEDBACK

 Open an issue using 'gh issue create -R github.com/cli/cli'
 
 

Linux

GitHub: GitOps, GitHub Copilot (Learn AI-Assisted Python Programming), GitHub for Major Software and Languages, GitHub Fundamentals, GitHub Inventor: GitHub and Git, GitHub Stars: GitHub Organization Ranking, GitHub Stars Ranking, GitHub Big Tech, Cloud Monk's favorite GitHub repos, gh plugin, git help, Version control, GitHub topics, Git topics, Git, GitHub repos, GitHub bibliography, Manning Git-GitHub Series, GitHub Actions, GitHub CodeSpaces, GitHub CLI, GitHub Free, GitHub Pro, GitHub Team, GitHub Enterprise, GitHub security (GitHub MFA - GitHub Passkeys) - GitHub Secrets - Authenticating with GitHub from Git (gh auth login), GLFS, GitHub Packages, GitHub alternative source code repos (GitHub - GitLab - AWS CodeCommit - Google Cloud Source Repositories - Bitbucket), Install Git, Git for Windows (choco search github, brew search github), Git for Linux, Git for macOS, GitHub glossary, Git glossary. (navbar_github - see also navbar_git, navbar_gitops, navbar_iac)

Homebrew: Cloud Monk's Package Manager Book Homebrew Chapter, Cloud Monk's Development PC DevOps Automation via Ansible-Chocolatey-PowerShell-Homebrew-DNF-APT, Homebrew Glossary, Homebrew Fundamentals, Homebrew Inventor - Homebrew Designer: Mike McQuaid, Brew DevOps - Homebrew on macOS - macOS DevOps - MacOps, Homebrew on Linux - Linux DevOps - LinuxOps, Homebrew Automation, Idempotent, Refreshenv, Homebrew Topics, macOS Package Managers, Package managers, macOS Configuration Management, PowerShell on macOS Ansible on macOS, Chef on macOS, Puppet on macOS (navbar_brew - see also navbar_choco, navbar_package_manager)


© 1994 - 2024 Cloud Monk Losang Jinpa or Fair Use. Disclaimers

SYI LU SENG E MU CHYWE YE. NAN. WEI LA YE. WEI LA YE. SA WA HE.


brew_install_gh.txt · Last modified: 2024/04/28 03:46 by 127.0.0.1