GitHub CLI (gh) plugin for the asdf version manager.
GitHub CLI (gh) is a command-line tool for GitHub operations and workflows. This plugin allows you to manage different versions of GitHub CLI using asdf.
With GitHub CLI, you can:
- Work with GitHub issues, pull requests, and releases
- Manage repositories and organizations
- Authenticate with GitHub
- Run GitHub Actions workflows
- Create and manage gists
- Clone repositories with authentication
- Integrate with your development workflow
For more information, visit cli.github.com.
bash,curl,tar, and POSIX utilities.- Supported platforms: macOS (ARM64 and AMD64) and Linux (AMD64)
Plugin:
asdf plugin add gh
# or
asdf plugin add gh https://github.com/rsvalerio/asdf-gh.gitGitHub CLI:
# Show all installable versions
asdf list-all gh
# Install specific version
asdf install gh latest
# Set a version globally (on your ~/.tool-versions file)
asdf global gh latest
# Now gh commands are available
gh --version
# Authenticate with GitHub
gh auth loginCheck asdf readme for more instructions on how to install & manage versions.
Contributions of any kind welcome! See the contributing guide.
Thanks goes to these contributors!
See LICENSE © Rodrigo Valeri