gh
| Version | 2026.157.1134 |
| Repo | superproject |
GitHub CLI (gh), git, and git-lfs — the GitHub-from-the-shell toolchain
gh is the single-responsibility home for the GitHub command-line
toolchain: the gh CLI (packaged as github-cli on arch, gh on
fedora/debian/ubuntu), git, and git-lfs. git-lfs is installed
with its rpm %post scriptlet suppressed (tsflags=noscripts, since
that scriptlet tries to talk to systemd inside the build container)
and its system hooks are instead configured by an explicit
post-install task (git-lfs install --system --skip-repo). The
observable, verifiable effect is that all three binaries are present
and runnable in any box that composes this candy — that is what the
scenarios and check block assert; they FAIL if any of the three tools
is missing.
Packages
Section titled “Packages”Installed on every distro:
gitgit-lfs
Acceptance plan
Section titled “Acceptance plan”This candy’s plan: — the runnable spec charly check executes against a live deployment. check: steps are idempotent probes; run: steps change state.
| Intent | Step |
|---|---|
run |
command=/usr/bin/git-lfs install –system –skip-repo 2>/dev/null || true |
check |
the GitHub CLI binary is installed at /usr/bin/gh for driving GitHub (PRs, issues, releases) from the shell |
check |
gh reports its version without error |
check |
the git binary is installed at /usr/bin/git |
check |
git reports its version without error |
check |
the git-lfs binary is installed at /usr/bin/git-lfs for transparent large-file storage |
check |
git-lfs reports its version without error |
agent-check |
with the system hooks configured by the post-install task, git-lfs is registered as a git filter so large files are smudged and cleaned transparently on checkout and commit |
check |
command=/usr/bin/gh –version |
check |
command=/usr/bin/git –version |
check |
command=/usr/bin/git-lfs –version |
check |
package=gh |
check |
package=git |
check |
package=git-lfs |