Copilot

From Omnia
Revision as of 16:30, 6 August 2026 by Kenneth (talk | contribs) (Created page with "== 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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.