Learning GitHub Copilot (uses OpenAI Codex)
Just one of the things I'm learning. https://github.com/hchiam/learning
https://github.com/features/copilot
https://marketplace.visualstudio.com/items?itemName=GitHub.copilot
Example:
-
type a function header, see 1 suggestion
-
to see alternate suggestions:
Option+]Option+[Alt+]Alt+[
-
Tabto accept suggestion
You can see what you or your organization have enabled in https://github.com/settings/copilot/features
To install: https://docs.github.com/en/copilot/how-tos/set-up/install-copilot-cli
For how to use: https://docs.github.com/en/copilot/how-tos/use-copilot-agents/use-copilot-cli
# note that GitHub Copilot is still experimental for Windows and also was in public preview September (and still is as of this writing, Oct 2025)
npm install -g @github/copilot
copilot help permissions
copilot --version
copilot
# when I run the copilot command, it currently asks for permission to execute files in the current folder and automatically execute bash commands on my machine, for the first time you run the GitHub Copilot CLI in a new folder.
# hit / to see a list of commands that can autocomplete or use arrow keys to scroll through
# hit @ to see a list of files that can autocomplete or use arrow keys to scroll through
# just like you can in a regular CLI, you can hit the up arrow key to see previous commands and hit Enter to re-run