Prerequisites
-
Access to GitHub Copilot . See " About GitHub Copilot ". -
GitHub CLI installed. For installation instructions for GitHub CLI, see the GitHub CLI repository .
Installing Copilot in the CLI
-
If you have not already authenticated to the GitHub CLI, run the following command in your terminal. Shell gh auth login gh auth login -
To install the Copilot in the CLI extension, run the following command. Shell gh extension install github/gh-copilot gh extension install github/gh-copilot
Updating Copilot in the CLI
gh extension upgrade gh-copilot
gh extension upgrade gh-copilot