|
1 | | -# GitHub Copilot CLI (Public Preview) |
| 1 | +# GitHub Copilot CLI |
2 | 2 |
|
3 | 3 | The power of GitHub Copilot, now in your terminal. |
4 | 4 |
|
@@ -38,61 +38,64 @@ If you have access to GitHub Copilot via your organization or enterprise, you ca |
38 | 38 |
|
39 | 39 | ### Installation |
40 | 40 |
|
41 | | -Install with [WinGet](https://github.com/microsoft/winget-cli) (Windows): |
| 41 | +Install with the install script (macOS and Linux): |
42 | 42 |
|
43 | 43 | ```bash |
44 | | -winget install GitHub.Copilot |
| 44 | +curl -fsSL https://gh.io/copilot-install | bash |
45 | 45 | ``` |
46 | 46 |
|
| 47 | +Or |
| 48 | + |
47 | 49 | ```bash |
48 | | -winget install GitHub.Copilot.Prerelease |
| 50 | +wget -qO- https://gh.io/copilot-install | bash |
49 | 51 | ``` |
50 | 52 |
|
51 | | -Install with [Homebrew](https://formulae.brew.sh/cask/copilot-cli) (macOS and Linux): |
| 53 | +Use `| sudo bash` to run as root and install to `/usr/local/bin`. |
52 | 54 |
|
53 | | -```bash |
54 | | -brew install copilot-cli |
55 | | -``` |
| 55 | +Set `PREFIX` to install to `$PREFIX/bin/` directory. Defaults to `/usr/local` |
| 56 | +when run as root or `$HOME/.local` when run as a non-root user. |
| 57 | + |
| 58 | +Set `VERSION` to install a specific version. Defaults to the latest version. |
| 59 | + |
| 60 | +For example, to install version `v0.0.369` to a custom directory: |
56 | 61 |
|
57 | 62 | ```bash |
58 | | -brew install copilot-cli@prerelease |
| 63 | +curl -fsSL https://gh.io/copilot-install | VERSION="v0.0.369" PREFIX="$HOME/custom" bash |
59 | 64 | ``` |
60 | 65 |
|
61 | | -Install with [npm](https://www.npmjs.com/package/@github/copilot) (macOS, Linux, and Windows): |
| 66 | +Install with [Homebrew](https://formulae.brew.sh/cask/copilot-cli) (macOS and Linux): |
62 | 67 |
|
63 | 68 | ```bash |
64 | | -npm install -g @github/copilot |
| 69 | +brew install copilot-cli |
65 | 70 | ``` |
66 | 71 |
|
67 | 72 | ```bash |
68 | | -npm install -g @github/copilot@prerelease |
| 73 | +brew install copilot-cli@prerelease |
69 | 74 | ``` |
70 | 75 |
|
71 | | -Install with the install script (macOS and Linux): |
| 76 | + |
| 77 | +Install with [WinGet](https://github.com/microsoft/winget-cli) (Windows): |
72 | 78 |
|
73 | 79 | ```bash |
74 | | -curl -fsSL https://gh.io/copilot-install | bash |
| 80 | +winget install GitHub.Copilot |
75 | 81 | ``` |
76 | 82 |
|
77 | | -Or |
78 | | - |
79 | 83 | ```bash |
80 | | -wget -qO- https://gh.io/copilot-install | bash |
| 84 | +winget install GitHub.Copilot.Prerelease |
81 | 85 | ``` |
82 | 86 |
|
83 | | -Use `| sudo bash` to run as root and install to `/usr/local/bin`. |
84 | | - |
85 | | -Set `PREFIX` to install to `$PREFIX/bin/` directory. Defaults to `/usr/local` |
86 | | -when run as root or `$HOME/.local` when run as a non-root user. |
87 | 87 |
|
88 | | -Set `VERSION` to install a specific version. Defaults to the latest version. |
| 88 | +Install with [npm](https://www.npmjs.com/package/@github/copilot) (macOS, Linux, and Windows): |
89 | 89 |
|
90 | | -For example, to install version `v0.0.369` to a custom directory: |
| 90 | +```bash |
| 91 | +npm install -g @github/copilot |
| 92 | +``` |
91 | 93 |
|
92 | 94 | ```bash |
93 | | -curl -fsSL https://gh.io/copilot-install | VERSION="v0.0.369" PREFIX="$HOME/custom" bash |
| 95 | +npm install -g @github/copilot@prerelease |
94 | 96 | ``` |
95 | 97 |
|
| 98 | + |
96 | 99 | ### Launching the CLI |
97 | 100 |
|
98 | 101 | ```bash |
@@ -186,6 +189,6 @@ For more information, see the [changelog](./changelog.md). |
186 | 189 |
|
187 | 190 | We're excited to have you join us early in the Copilot CLI journey. |
188 | 191 |
|
189 | | -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! |
| 192 | +We're building quickly. Expect frequent updates--please keep your client up to date for the latest features and fixes! |
190 | 193 |
|
191 | | -Your insights are invaluable! Open issue in this repo, join Discussions, and run `/feedback` from the CLI to submit a confidential feedback survey! |
| 194 | +Your insights are invaluable! Open an issue in this repo, join Discussions, and run `/feedback` from the CLI to submit a confidential feedback survey! |
0 commit comments