Skip to main content

Add A GitHub CLI Extension

GitHub CLI extensions are managed as a curated list.

Preconditions

  • gh is installed and authenticated (gh auth status).
  • You know the extension repo (owner/gh-extension).

File

The list currently lives inside the hook template.

Steps

  1. Add the extension repo (like owner/gh-something) to the list in:

  2. Apply:

    chezmoi apply

Verification

gh extension list

Rollback / Undo

  1. Remove the extension entry from:
  1. Uninstall it:
gh extension remove <owner/gh-extension>
  1. Re-apply:
chezmoi apply