GitHub CLI (gh) is the official command-line interface for GitHub. It allows you to interact
with GitHub repositories, issues, pull requests, releases, and Actions workflows directly from
the terminal without opening a browser.
For Continuous Delphi maintainers, GitHub CLI is used for creating releases, managing pull
requests, and triggering or inspecting CI workflow runs. It is not required for day-to-day
development but becomes useful once you are publishing releases or working with CI pipelines.
| Requirement | Value |
|---|---|
| Minimum version | 2.65 |
| Recommended version | Latest stable |
| Prerequisite | Git for Windows 2.47+ |
- Creating and publishing GitHub releases
- Managing pull requests from the command line
- Inspecting and re-running GitHub Actions workflow runs
- Scripting repository operations in automation tasks
- Latest release: https://cli.github.com/
- GitHub releases: https://github.com/cli/cli/releases/latest
- winget:
winget install --id GitHub.cli
See setup-github-cli.md for step-by-step installation instructions on Windows 11.
- After installation, authenticate with:
gh auth loginFollow the interactive prompts to authenticate via browser. Choose HTTPS as the protocol when asked. gh --versionshould returngh version 2.65.xor later after installation.- GitHub CLI respects the Git credential configuration already set up by Git for Windows. You do not need to configure credentials separately.