Getting Started with GitHub Copilot in the CLI
It was announced recently that GitHub Copilot in the CLI has reached General Availablity for all Individual, Business, and Enterprise customers. In this post, I will show you how you can get download and install the CLI and Copilot extension, authenticate to use Copilot, and the available commands and use cases.
Install the GitHub CLI
Windows
With Windows, we can install the GitHub CLI via the command line (Winget, Chocolatey, or Scoop) or manually from here.
Winget
With Winget, we can install the GitHub CLI using the following command:
winget install --id GitHub.cli
MacOS
With MacOS, we can install the GitHub CLI via homebrew or manually from here.
Homebrew
Using homebrew, run the following command:
brew install gh
Authenticate
Note: In order to use Copilot in the CLI, you must have an active GitHub Copilot subscription.
Once you have a valid subscription to use Copilot, run the … Continue...