-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Add prerelease options to installation docs #776
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
Also fix an issue where the npm instructions got put in the middle of the curl instructions.
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -45,28 +45,40 @@ Install with [WinGet](https://github.com/microsoft/winget-cli) (Windows): | |
| winget install GitHub.Copilot | ||
| ``` | ||
|
|
||
| ```bash | ||
| winget install GitHub.Copilot.Prerelease | ||
| ``` | ||
|
|
||
| Install with [Homebrew](https://formulae.brew.sh/cask/copilot-cli) (macOS and Linux): | ||
|
|
||
| ```bash | ||
| brew install copilot-cli | ||
| ``` | ||
|
|
||
| Install with the install script (macOS and Linux): | ||
| ```bash | ||
| brew install copilot-cli@prerelease | ||
| ``` | ||
|
Comment on lines
+58
to
+60
|
||
|
|
||
| Install with [npm](https://www.npmjs.com/package/@github/copilot) (macOS, Linux, and Windows): | ||
|
|
||
| ```bash | ||
| curl -fsSL https://gh.io/copilot-install | bash | ||
| npm install -g @github/copilot | ||
| ``` | ||
|
|
||
| Or | ||
| ```bash | ||
| npm install -g @github/copilot@prerelease | ||
| ``` | ||
|
Comment on lines
+68
to
+70
|
||
|
|
||
| Install with the install script (macOS and Linux): | ||
|
|
||
| ```bash | ||
| wget -qO- https://gh.io/copilot-install | bash | ||
| curl -fsSL https://gh.io/copilot-install | bash | ||
| ``` | ||
|
|
||
| Install with [npm](https://www.npmjs.com/package/@github/copilot) (macOS, Linux, and Windows): | ||
| Or | ||
|
|
||
| ```bash | ||
| npm install -g @github/copilot | ||
| wget -qO- https://gh.io/copilot-install | bash | ||
| ``` | ||
|
|
||
| Use `| sudo bash` to run as root and install to `/usr/local/bin`. | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The prerelease installation commands are added without any explanatory text. Each prerelease option should include a brief description (e.g., "To install the prerelease version:") to provide context for users and improve readability of the documentation.