Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
98 commits
Select commit Hold shift + click to select a range
f03da3f
Add PowerShell dependency to winget manifests
SteveSandersonMS Feb 19, 2026
4884994
Fix the winget submission script
SteveSandersonMS Feb 20, 2026
906ad6f
Merge pull request #1557 from github/stevesa/powershell-dependency-v3
SteveSandersonMS Feb 20, 2026
d0b7ea0
Update changelog.md for version 0.0.413
github-actions[bot] Feb 20, 2026
837a597
Update changelog.md for version 0.0.414
github-actions[bot] Feb 21, 2026
9134dfd
Update changelog.md for version 0.0.415
github-actions[bot] Feb 23, 2026
b320dfb
Update changelog.md for version 0.0.416
github-actions[bot] Feb 24, 2026
6c3eff1
Update changelog.md for version 0.0.417
github-actions[bot] Feb 25, 2026
aea9faa
Revise README for GitHub Copilot CLI installation
RyanHecht Feb 25, 2026
b54e97c
Update README.md
RyanHecht Feb 25, 2026
f8396ae
Merge pull request #1670 from github/RyanHecht-patch-1
RyanHecht Feb 25, 2026
9277ab5
Update changelog.md for version 0.0.418
github-actions[bot] Feb 25, 2026
30034c7
install: guide user to update PATH for current shell session
devm33 Feb 26, 2026
9596516
Update changelog.md for version 0.0.419
github-actions[bot] Feb 27, 2026
3b73154
Update changelog.md for version 0.0.420
github-actions[bot] Feb 27, 2026
119c6f8
Merge pull request #1699 from github/devm33/install-ready
devm33 Mar 2, 2026
689d148
Update changelog.md for version 0.0.421
github-actions[bot] Mar 3, 2026
7aa08b3
Update changelog.md for version 0.0.422
github-actions[bot] Mar 5, 2026
732d8b1
Update changelog.md for version 0.0.423
github-actions[bot] Mar 6, 2026
6c50fd2
Update changelog.md for version 1.0.2
github-actions[bot] Mar 6, 2026
28d2487
Update changelog.md for version 1.0.3
github-actions[bot] Mar 9, 2026
0160eb9
install: use GITHUB_TOKEN for authenticated GitHub requests
devm33 Mar 10, 2026
d3c1269
Merge pull request #1960 from github/install-auth
devm33 Mar 10, 2026
9a0d581
Update changelog.md for version 1.0.4
github-actions[bot] Mar 11, 2026
33b5f9c
Alter PATH for login shells, not interactive shells
tpope Mar 12, 2026
10fc284
Incorporate ZDOTDIR into .zprofile path
tpope Mar 12, 2026
894b48f
Merge pull request #2004 from github/tpope/fix-install-shell-profile
tpope Mar 12, 2026
f019a8c
Update changelog.md for version 1.0.5
github-actions[bot] Mar 13, 2026
941002e
Update changelog.md for version 1.0.6
github-actions[bot] Mar 16, 2026
f42c2cc
Update changelog.md for version 1.0.7
github-actions[bot] Mar 17, 2026
71cd475
Update changelog.md for version 1.0.8
github-actions[bot] Mar 18, 2026
0f8a102
Update changelog.md for version 1.0.9
github-actions[bot] Mar 19, 2026
4b16981
Update changelog.md for version 1.0.10
github-actions[bot] Mar 20, 2026
ab1336d
Update changelog.md for version 1.0.11
github-actions[bot] Mar 23, 2026
2a03ddf
Update changelog.md for version 1.0.12
github-actions[bot] Mar 26, 2026
3d2b5b5
Sort git tags when determining prerelease version
gulducat Mar 26, 2026
b175fd8
Merge pull request #2331 from gulducat/patch-1
tpope Mar 26, 2026
07af0bc
install: add fish shell support for PATH configuration
marcelsafin Mar 29, 2026
177b637
install: use EXIT trap for temp directory cleanup
marcelsafin Mar 29, 2026
a503500
Merge pull request #2380 from marcelsafin/fix/install-trap-cleanup
devm33 Mar 29, 2026
9c1a0ae
Merge pull request #2381 from marcelsafin/fix/install-fish-shell-path
devm33 Mar 29, 2026
2ecd9e1
Update changelog.md for version 1.0.13
github-actions[bot] Mar 30, 2026
65677f8
Update changelog.md for version 1.0.14
github-actions[bot] Mar 31, 2026
c6f6670
Update changelog.md for version 1.0.15
github-actions[bot] Apr 1, 2026
4247482
Update changelog.md for version 1.0.16
github-actions[bot] Apr 2, 2026
208f5d8
Update changelog.md for version 1.0.17
github-actions[bot] Apr 3, 2026
b53425d
Update changelog.md for version 1.0.18
github-actions[bot] Apr 4, 2026
bd1ba52
Update changelog.md for version 1.0.19
github-actions[bot] Apr 6, 2026
13653ea
Update changelog.md for version 1.0.20
github-actions[bot] Apr 7, 2026
950711b
Update changelog.md for version 1.0.21
github-actions[bot] Apr 7, 2026
e58f287
Update changelog.md for version 1.0.22
github-actions[bot] Apr 9, 2026
52662af
Update changelog.md for version 1.0.23
github-actions[bot] Apr 10, 2026
132fd0d
Update changelog.md for version 1.0.24
github-actions[bot] Apr 10, 2026
89ee433
Update changelog.md for version 1.0.25
github-actions[bot] Apr 13, 2026
559a22a
Update changelog.md for version 1.0.26
github-actions[bot] Apr 14, 2026
ae7b374
Update changelog.md for version 1.0.27
github-actions[bot] Apr 15, 2026
8973042
Update changelog.md for version 1.0.28
github-actions[bot] Apr 16, 2026
709b59e
Update changelog.md for version 1.0.29
github-actions[bot] Apr 16, 2026
2f883ed
Update changelog.md for version 1.0.30
github-actions[bot] Apr 16, 2026
3b72dea
Update changelog.md for version 1.0.31
github-actions[bot] Apr 16, 2026
4e51f5a
Update changelog.md for version 1.0.32
github-actions[bot] Apr 17, 2026
75fbe0c
Update changelog.md for version 1.0.33
github-actions[bot] Apr 20, 2026
6594437
Update changelog.md for version 1.0.34
github-actions[bot] Apr 20, 2026
d7a0581
Update changelog.md for version 1.0.35
github-actions[bot] Apr 23, 2026
6d1c577
Update changelog.md for version 1.0.36
github-actions[bot] Apr 24, 2026
4e5cb95
Update changelog.md for version 1.0.37
github-actions[bot] Apr 27, 2026
cb0ddf8
Update changelog.md for version 1.0.39
github-actions[bot] Apr 28, 2026
cc85e32
Update changelog.md for version 1.0.40
github-actions[bot] May 1, 2026
ac346d1
Update changelog.md for version 1.0.41
github-actions[bot] May 5, 2026
5ab6de6
Update changelog.md for version 1.0.42
github-actions[bot] May 6, 2026
bee20d0
Update changelog.md for version 1.0.43
github-actions[bot] May 6, 2026
41b4018
Update changelog.md for version 1.0.44
github-actions[bot] May 8, 2026
fd2900c
Update changelog.md for version 1.0.45
github-actions[bot] May 11, 2026
5b5dd40
Update changelog.md for version 1.0.46
github-actions[bot] May 12, 2026
4328afb
Update changelog.md for version 1.0.47
github-actions[bot] May 13, 2026
196c5f6
Update changelog.md for version 1.0.48
github-actions[bot] May 14, 2026
d0b5734
Update changelog.md for version 1.0.49
github-actions[bot] May 19, 2026
71e5b79
Update changelog.md for version 1.0.51
github-actions[bot] May 20, 2026
fad7701
Update changelog.md for version 1.0.52
github-actions[bot] May 23, 2026
58e05a5
Update changelog.md for version 1.0.53
github-actions[bot] May 24, 2026
d88b67d
Update changelog.md for version 1.0.54
github-actions[bot] May 24, 2026
3085447
Update changelog.md for version 1.0.55
github-actions[bot] May 28, 2026
5e5b150
Update changelog.md for version 1.0.56
github-actions[bot] May 29, 2026
eaa1eab
Update changelog.md for version 1.0.57
github-actions[bot] Jun 1, 2026
fbdc9da
Update changelog.md for version 1.0.58
github-actions[bot] Jun 2, 2026
3e316bb
Update changelog.md for version 1.0.59
github-actions[bot] Jun 2, 2026
85b27cb
Update changelog.md for version 1.0.60
github-actions[bot] Jun 5, 2026
b91eba5
Update changelog.md for version 1.0.61
github-actions[bot] Jun 9, 2026
9776ad4
Update changelog.md for version 1.0.62
github-actions[bot] Jun 13, 2026
b71d117
Update changelog.md for version 1.0.63
github-actions[bot] Jun 16, 2026
e7d294d
Update changelog.md for version 1.0.64
github-actions[bot] Jun 23, 2026
214d530
Update changelog.md for version 1.0.65
github-actions[bot] Jun 24, 2026
c802cc3
Update changelog.md for version 1.0.66
github-actions[bot] Jun 30, 2026
914f26a
Update changelog.md for version 1.0.67
github-actions[bot] Jun 30, 2026
9622b56
Update changelog.md for version 1.0.68
github-actions[bot] Jul 1, 2026
758c2c9
Update changelog.md for version 1.0.69
github-actions[bot] Jul 7, 2026
6a8b92e
Update changelog.md for version 1.0.70
github-actions[bot] Jul 10, 2026
fd24cea
Update changelog.md for version 1.0.71
github-actions[bot] Jul 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 23 additions & 1 deletion .github/workflows/winget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,26 @@ jobs:
.\wingetcreate.exe update $packageId `
--version $packageVersion `
--urls "$installerUrlx64|x64" "$installerUrlarm64|arm64" `
--submit
--out manifests

# Add PowerShell dependency to installer manifest
$installerManifest = Get-ChildItem -Path manifests -Filter "*.installer.yaml" -Recurse | Select-Object -First 1 -ExpandProperty FullName
if (-not $installerManifest) {
Write-Error "No installer manifest (*.installer.yaml) was found in the 'manifests' directory."
exit 1
}
$content = Get-Content -Path $installerManifest -Raw
$dependency = @"
Dependencies:
PackageDependencies:
- PackageIdentifier: Microsoft.PowerShell
MinimumVersion: "7.0.0"
"@
# Remove existing top-level Dependencies block (if any), then insert ours
$content = $content -replace '(?m)^Dependencies:\r?\n([ ]+.+\r?\n)*', ''
$content = $content -replace '(?m)^Installers:', "$dependency`nInstallers:"
Set-Content -Path $installerManifest -Value $content

# Submit the modified manifest
$manifestPath = Split-Path $installerManifest
.\wingetcreate.exe submit $manifestPath
55 changes: 29 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# GitHub Copilot CLI (Public Preview)
# GitHub Copilot CLI

The power of GitHub Copilot, now in your terminal.

Expand Down Expand Up @@ -38,61 +38,64 @@ If you have access to GitHub Copilot via your organization or enterprise, you ca

### Installation

Install with [WinGet](https://github.com/microsoft/winget-cli) (Windows):
Install with the install script (macOS and Linux):

```bash
winget install GitHub.Copilot
curl -fsSL https://gh.io/copilot-install | bash
```

Or

```bash
winget install GitHub.Copilot.Prerelease
wget -qO- https://gh.io/copilot-install | bash
```

Install with [Homebrew](https://formulae.brew.sh/cask/copilot-cli) (macOS and Linux):
Use `| sudo bash` to run as root and install to `/usr/local/bin`.

```bash
brew install copilot-cli
```
Set `PREFIX` to install to `$PREFIX/bin/` directory. Defaults to `/usr/local`
when run as root or `$HOME/.local` when run as a non-root user.

Set `VERSION` to install a specific version. Defaults to the latest version.

For example, to install version `v0.0.369` to a custom directory:

```bash
brew install copilot-cli@prerelease
curl -fsSL https://gh.io/copilot-install | VERSION="v0.0.369" PREFIX="$HOME/custom" bash
```

Install with [npm](https://www.npmjs.com/package/@github/copilot) (macOS, Linux, and Windows):
Install with [Homebrew](https://formulae.brew.sh/cask/copilot-cli) (macOS and Linux):

```bash
npm install -g @github/copilot
brew install copilot-cli
```

```bash
npm install -g @github/copilot@prerelease
brew install copilot-cli@prerelease
```

Install with the install script (macOS and Linux):

Install with [WinGet](https://github.com/microsoft/winget-cli) (Windows):

```bash
curl -fsSL https://gh.io/copilot-install | bash
winget install GitHub.Copilot
```

Or

```bash
wget -qO- https://gh.io/copilot-install | bash
winget install GitHub.Copilot.Prerelease
```

Use `| sudo bash` to run as root and install to `/usr/local/bin`.

Set `PREFIX` to install to `$PREFIX/bin/` directory. Defaults to `/usr/local`
when run as root or `$HOME/.local` when run as a non-root user.

Set `VERSION` to install a specific version. Defaults to the latest version.
Install with [npm](https://www.npmjs.com/package/@github/copilot) (macOS, Linux, and Windows):

For example, to install version `v0.0.369` to a custom directory:
```bash
npm install -g @github/copilot
```

```bash
curl -fsSL https://gh.io/copilot-install | VERSION="v0.0.369" PREFIX="$HOME/custom" bash
npm install -g @github/copilot@prerelease
```


### Launching the CLI

```bash
Expand Down Expand Up @@ -186,6 +189,6 @@ For more information, see the [changelog](./changelog.md).

We're excited to have you join us early in the Copilot CLI journey.

This is an early-stage preview, and we're building quickly. Expect frequent updates--please keep your client up to date for the latest features and fixes!
We're building quickly. Expect frequent updates--please keep your client up to date for the latest features and fixes!

Your insights are invaluable! Open issue in this repo, join Discussions, and run `/feedback` from the CLI to submit a confidential feedback survey!
Your insights are invaluable! Open an issue in this repo, join Discussions, and run `/feedback` from the CLI to submit a confidential feedback survey!
Loading