Skip to content

Commit 0462850

Browse files
committed
Add prerelease options to installation docs
Also fix an issue where the npm instructions got put in the middle of the curl instructions.
1 parent c346aa2 commit 0462850

File tree

1 file changed

+18
-6
lines changed

1 file changed

+18
-6
lines changed

README.md

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,28 +45,40 @@ Install with [WinGet](https://github.com/microsoft/winget-cli) (Windows):
4545
winget install GitHub.Copilot
4646
```
4747

48+
```bash
49+
winget install GitHub.Copilot.Prerelease
50+
```
51+
4852
Install with [Homebrew](https://formulae.brew.sh/cask/copilot-cli) (macOS and Linux):
4953

5054
```bash
5155
brew install copilot-cli
5256
```
5357

54-
Install with the install script (macOS and Linux):
58+
```bash
59+
brew install copilot-cli@prerelease
60+
```
61+
62+
Install with [npm](https://www.npmjs.com/package/@github/copilot) (macOS, Linux, and Windows):
5563

5664
```bash
57-
curl -fsSL https://gh.io/copilot-install | bash
65+
npm install -g @github/copilot
5866
```
5967

60-
Or
68+
```bash
69+
npm install -g @github/copilot@prerelease
70+
```
71+
72+
Install with the install script (macOS and Linux):
6173

6274
```bash
63-
wget -qO- https://gh.io/copilot-install | bash
75+
curl -fsSL https://gh.io/copilot-install | bash
6476
```
6577

66-
Install with [npm](https://www.npmjs.com/package/@github/copilot) (macOS, Linux, and Windows):
78+
Or
6779

6880
```bash
69-
npm install -g @github/copilot
81+
wget -qO- https://gh.io/copilot-install | bash
7082
```
7183

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

0 commit comments

Comments
 (0)