OS Manuals

/usr/bin/gh

GitHub's official command line tool

From gh 2.103.3-r1 (os), captured 2026-11-05 by running gh --usage (exit 1). permalink

unknown flag: --usage

Usage:  gh <command> <subcommand> [flags]

Available commands:
  agent-task
  alias
  api
  attestation
  auth
  browse
  cache
  co
  codespace
  completion
  config
  copilot
  discussion
  extension
  gist
  gpg-key
  issue
  label
  licenses
  org
  pr
  preview
  project
  release
  repo
  ruleset
  run
  search
  secret
  skill
  ssh-key
  status
  variable
  workflow
Options (1)
OptionDescriptionSource
--versionShow gh versionman
Exit status (4) from the manual page
0Successful execution
1Error
2Command canceled
4Authentication required
Examples (3) from the manual page, untested

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.