To download or upgrade CLI de GitHub, follow the instructions in the CLI de GitHub README. To access all of the GitHub Actions-related commands, you must use version 1.9.0 or greater. For more information about CLI de GitHub, see the CLI de GitHub manual.
CLI de GitHub can authenticate using your GitHub account. Before running CLI de GitHub commands, you will need to authenticate by running
gh auth login. For more information on command line authentication, see "
gh auth login."
CLI de GitHub commands must be run within the repository that you want to interact with, so you must first navigate to the directory containing the local copy of your repository. Alternatively, you can specify a repository by passing
-R OWNER/REPOSITORY or
--repo OWNER/REPOSITORY. Replace
OWNER with owner of the repository. Replace
REPOSITORY with the name of the repository.
To view all available commands related to GitHub Actions, run
For more information on using commands in specific scenarios, see the following procedures: