From 6df9825ac16ba10a24802b5771bd8d2e9af4248e Mon Sep 17 00:00:00 2001 From: Devraj Mehta Date: Wed, 17 Dec 2025 03:11:03 -0500 Subject: [PATCH 1/2] Update installation instructions for Copilot CLI (#58928) Co-authored-by: hubwriter --- .../how-tos/set-up/install-copilot-cli.md | 84 +++++++++++++++++-- 1 file changed, 79 insertions(+), 5 deletions(-) diff --git a/content/copilot/how-tos/set-up/install-copilot-cli.md b/content/copilot/how-tos/set-up/install-copilot-cli.md index a5af2be63074..f0078becdc58 100644 --- a/content/copilot/how-tos/set-up/install-copilot-cli.md +++ b/content/copilot/how-tos/set-up/install-copilot-cli.md @@ -16,7 +16,7 @@ redirect_from: - /copilot/how-tos/personal-settings/installing-github-copilot-in-the-cli - /copilot/how-tos/set-up/installing-github-copilot-in-the-cli contentType: how-tos -category: +category: - Configure Copilot --- @@ -26,20 +26,94 @@ To find out about {% data variables.copilot.copilot_cli_short %} before you inst ## Prerequisites -* **A {% data variables.product.prodname_copilot %} subscription**. See [Copilot plans](https://github.com/features/copilot/plans?ref_product=copilot&ref_type=engagement&ref_style=text). -* **Node.js** version 22 or later -* **npm** version 10 or later +* **An active {% data variables.product.prodname_copilot %} subscription**. See [{% data variables.product.prodname_copilot_short %} plans](https://github.com/features/copilot/plans?ref_product=copilot&ref_type=engagement&ref_style=text). +* (On Windows) **PowerShell** v6 or higher If you have access to {% data variables.product.prodname_copilot %} via your organization or enterprise, you cannot use {% data variables.copilot.copilot_cli_short %} if your organization owner or enterprise administrator has disabled it in the organization or enterprise settings. See [AUTOTITLE](/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-github-copilot-features-in-your-organization/managing-policies-for-copilot-in-your-organization). ## Installing or updating {% data variables.copilot.copilot_cli_short %} -Run the following command to install or update {% data variables.copilot.copilot_cli_short %}. +You can install {% data variables.copilot.copilot_cli_short %} using WinGet (Windows), Homebrew (macOS and Linux), npm (all platforms), or an install script (macOS and Linux). + +### Installing with WinGet (Windows) + +```powershell copy +winget install GitHub.Copilot +``` + +To install the prerelease version: + +```powershell copy +winget install GitHub.Copilot.Prerelease +``` + +### Installing with Homebrew (macOS and Linux) + +```shell copy +brew install copilot-cli +``` + +To install the prerelease version: + +```shell copy +brew install copilot-cli@prerelease +``` + +### Installing with npm (all platforms, requires Node.js 22+) ```shell copy npm install -g @github/copilot ``` +To install the prerelease version: + +```shell copy +npm install -g @github/copilot@prerelease +``` + +### Installing with the install script (macOS and Linux) + +```shell copy +curl -fsSL https://gh.io/copilot-install | bash +``` + +Or: + +```shell copy +wget -qO- https://gh.io/copilot-install | bash +``` + +To run as root and install to `/usr/local/bin`, use `| sudo bash`. + +To install to a custom directory, set the `PREFIX` environment variable. It defaults to `/usr/local` when run as root or `$HOME/.local` when run as a non-root user. + +To install a specific version, set the `VERSION` environment variable. It defaults to the latest version. + +For example, to install version `v0.0.369` to a custom directory: + +```shell copy +curl -fsSL https://gh.io/copilot-install | VERSION="v0.0.369" PREFIX="$HOME/custom" bash +``` + +### Download from {% data variables.product.prodname_dotcom_the_website %} + +You can download the executables directly from [the `copilot-cli` repository](https://github.com/github/copilot-cli/releases/). + +Download the executable for your platform, unpack it, and run. + +## Authenticating with {% data variables.copilot.copilot_cli_short %} + +On first launch, if you're not currently logged in to {% data variables.product.github %}, you'll be prompted to use the `/login` slash command. Enter this command and follow the on-screen instructions to authenticate. + +### Authenticating with a {% data variables.product.pat_generic %} + +You can also authenticate using a {% data variables.product.pat_v2 %} with the "{% data variables.product.prodname_copilot_short %} Requests" permission enabled. + +1. Visit [{% data variables.product.pat_v2_caps_plural %}](https://github.com/settings/personal-access-tokens/new). +1. Under "Permissions," click **Add permissions** and select **{% data variables.product.prodname_copilot_short %} Requests**. +1. Click **Generate token**. +1. Add the token to your environment using the `GH_TOKEN` or `GITHUB_TOKEN` environment variable (in order of precedence). + ## Next steps You can now use {% data variables.product.prodname_copilot_short %} from the command line. See [AUTOTITLE](/copilot/how-tos/use-copilot-agents/use-copilot-cli). From 7069248f20510142911d06c5b97007aff7e152b1 Mon Sep 17 00:00:00 2001 From: Sophie <29382425+sophietheking@users.noreply.github.com> Date: Wed, 17 Dec 2025 09:38:36 +0100 Subject: [PATCH 2/2] Update Actions pricing docs (#58941) Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com> --- content/billing/concepts/product-billing/github-actions.md | 5 +++-- content/billing/reference/actions-runner-pricing.md | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/content/billing/concepts/product-billing/github-actions.md b/content/billing/concepts/product-billing/github-actions.md index 8d4238dd314a..8b8e09cb867e 100644 --- a/content/billing/concepts/product-billing/github-actions.md +++ b/content/billing/concepts/product-billing/github-actions.md @@ -106,9 +106,10 @@ The following amounts of time for standard {% data variables.product.github %}-h {% data reusables.billing.actions-included-quotas %} -The use of standard {% data variables.product.github %}-hosted runners is free: +Standard {% data variables.product.github %}-hosted or self-hosted runner usage **on public repositories will remain free**. + +The use of standard {% data variables.product.github %}-hosted runners is also free: -* In public repositories * For {% data variables.product.prodname_pages %} * For {% data variables.product.prodname_dependabot %} * For the agentic features ({% data variables.release-phases.public_preview %}) in {% data variables.copilot.copilot_code-review %} diff --git a/content/billing/reference/actions-runner-pricing.md b/content/billing/reference/actions-runner-pricing.md index 0a5ce3404885..e14c2a9149c1 100644 --- a/content/billing/reference/actions-runner-pricing.md +++ b/content/billing/reference/actions-runner-pricing.md @@ -69,7 +69,7 @@ These runners will use minutes included in your quota to run workflows in privat | Windows 16-core | `windows_16_core_arm` | $0.080 | $0.050 | -38% | | Windows 32-core | `windows_32_core_arm` | $0.160 | $0.098 | -39% | | Windows 64-core | `windows_64_core_arm` | $0.320 | $0.194 | -39% | -| macOS 6-core (M1) | `macos_xl` | $0.160 | $0.102 | -36% | +| macOS 5-core (M2 Pro) | `macos_xl` | $0.160 | $0.102 | -36% | ## GPU-powered {% data variables.actions.hosted_runners %}