Skip to content

Commit c068e98

Browse files
committed
Reorganize
1 parent 1b8ba1d commit c068e98

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

README.md

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -39,29 +39,19 @@ If you have access to GitHub Copilot via your organization or enterprise, you ca
3939

4040
### Installation
4141

42-
#### Any platform with npm
43-
44-
```bash
45-
npm install -g @github/copilot
46-
```
47-
48-
#### Windows
49-
50-
Install with [WinGet](https://github.com/microsoft/winget-cli):
42+
Install with [WinGet](https://github.com/microsoft/winget-cli) (Windows):
5143

5244
```bash
5345
winget install GitHub.Copilot
5446
```
5547

56-
#### macOS
57-
58-
Install with [Homebrew](https://formulae.brew.sh/cask/copilot-cli):
48+
Install with [Homebrew](https://formulae.brew.sh/cask/copilot-cli) (macOS and Linux):
5949

6050
```bash
6151
brew install copilot-cli
6252
```
6353

64-
#### macOS and Linux
54+
Install with the install script (macOS and Linux):
6555

6656
```bash
6757
curl -fsSL https://gh.io/copilot-install | bash
@@ -73,6 +63,12 @@ Or
7363
wget -qO- https://gh.io/copilot-install | bash
7464
```
7565

66+
Install with [npm](https://www.npmjs.com/package/@github/copilot) (macOS, Linux, and Windows):
67+
68+
```bash
69+
npm install -g @github/copilot
70+
```
71+
7672
Use `| sudo bash` to run as root and install to `/usr/local/bin`.
7773

7874
Set `PREFIX` to install to `$PREFIX/bin/` directory. Defaults to `/usr/local`

0 commit comments

Comments
 (0)