From 0462850bdf2cc8c5523d85c943227f75b9ce344b Mon Sep 17 00:00:00 2001 From: Devraj Mehta Date: Fri, 12 Dec 2025 21:53:59 -0500 Subject: [PATCH] Add prerelease options to installation docs Also fix an issue where the npm instructions got put in the middle of the curl instructions. --- README.md | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index b922eb59..1cff9f51 100644 --- a/README.md +++ b/README.md @@ -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 +``` + +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 +``` + +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`.