Copilot: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 53: | Line 53: | ||
* https://apito.ai/en/blog/tools/github-copilot-claudeapi-byok-setup/ | * https://apito.ai/en/blog/tools/github-copilot-claudeapi-byok-setup/ | ||
* https://www.promptfu.com/blog/github-copilot-cli-mastery-guide/ | * https://www.promptfu.com/blog/github-copilot-cli-mastery-guide/ | ||
== ask_user tool == | |||
: I'll note to use the '''ask_user tool''' for open-ended questions going forward... | |||
== keywords == | |||
Revision as of 22:29, 27 August 2026
Copilot CLI
1. Install GitHub CLI
Choose the command for your operating system:
macOS:
brew install gh
Windows (Winget):
winget install GitHub.cli
Windows (Scoop):
scoop install gh
Linux (Ubuntu/Debian):
sudo apt install gh
Linux (Fedora/RHEL):
sudo dnf install gh
---
2. Authenticate:
gh auth login
---
3. Install the Copilot Extension:
gh extension install github/gh-copilot
---
4. Update the Extension (Optional)
gh extension upgrade gh-copilot
---
5. Use the CLI
gh copilot explain "command"
gh copilot suggest "what you want to do"
If you want, I can help you set up aliases (like ?? or git?) to make triggering Copilot suggestions much faster in your shell. Let me know if you use Bash, Zsh, or PowerShell.
---
References
- https://docs.github.com/en/copilot/how-tos/copilot-cli/set-up-copilot-cli/install-copilot-cli
- https://www.linkedin.com/posts/github_have-you-tried-github-copilot-in-the-cli-activity-7179897577172074496-jw4T
- https://www.linkedin.com/posts/juliangoldieseo_new-github-copilot-cli-is-insane-activity-7377931244484964352-mr2Y
- https://itnext.io/getting-started-with-github-copilot-66fb63c88cbe
- https://apito.ai/en/blog/tools/github-copilot-claudeapi-byok-setup/
- https://www.promptfu.com/blog/github-copilot-cli-mastery-guide/
ask_user tool
- I'll note to use the ask_user tool for open-ended questions going forward...