How to get a Copilot token
Windows quick path:
- Open cmd, Windows PowerShell, or PowerShell in the repo folder.
- Run the Windows helper script from this repo if you have it locally:
scripts\get-copilot-token-windows.cmd
Or copy this script into a file named get-copilot-token-windows.cmd and run the file. Do not paste the batch contents directly into the terminal:
The script installs GitHub CLI with winget if needed, walks through GitHub auth, then prints the final Copilot token for you to paste here.