Add A GitHub CLI Extension
GitHub CLI extensions are managed as a curated list.
Preconditions
ghis installed and authenticated (gh auth status).- You know the extension repo (
owner/gh-extension).
File
The list currently lives inside the hook template.
Steps
-
Add the extension repo (like
owner/gh-something) to the list in: -
Apply:
chezmoi apply
Verification
gh extension list
Rollback / Undo
- Remove the extension entry from:
- Uninstall it:
gh extension remove <owner/gh-extension>
- Re-apply:
chezmoi apply