Using Github Copilot CLI

From Logic Wiki
Jump to: navigation, search

in Powershell

winget install GitHub.Copilot

Restart PowerShell, then verify:

copilot version

Authenticate with your GitHub Enterprise Cloud instance:

copilot login --host https://lrqa.ghe.com

If browser authentication loops, try device-code authentication:

copilot login --host https://lrqa.ghe.com --device-code

Open a repository and launch Copilot:

cd C:\path\to\your\repository
copilot