GitHub Enterprise Server CLI
March 18, 2026 ยท View on GitHub
This is the management tool for GitHub Enterprise Server (GHES) on the command line.
Installation
gh es is available for installation as a gh CLI extension, and as a downloadable binary from the releases page.
In order to use it as a CLI extension, you must have the GitHub CLI installed.
To install the latest version, use:
gh extension install github.com/github/gh-es
Please make sure to install the correct version of the CLI extension which matches the release version (e.g. 3.20.0) of your GHES installation, by pinning to the latest patch for the corresponding release series:
gh extension install github.com/github/gh-es --pin v3.20.0
Supported versions
The following versions of GHES are supported by this CLI. Please refer to the USAGE for more information on how to use the CLI commands of each release.
Usage
For more information on how to use the CLI and its commands, please see the USAGE documentation.
License
This project is licensed under the terms of the MIT open source license. Please refer to LICENSE for the full terms.
Support
See SUPPORT.
Contributing
See CONTRIBUTING.