Co-authored-by: Claire W <78226508+crwaters16@users.noreply.github.com> Co-authored-by: Anne-Marie <102995847+am-stead@users.noreply.github.com> Co-authored-by: Jules <19994093+jules-p@users.noreply.github.com> Co-authored-by: Jules Porter <jules-p@users.noreply.github.com> Co-authored-by: hubwriter <hubwriter@github.com> Co-authored-by: Robert Sese <734194+rsese@users.noreply.github.com>
2.2 KiB
2.2 KiB
title, shortTitle, intro, versions, topics, redirect_from, contentType, category
| title | shortTitle | intro | versions | topics | redirect_from | contentType | category | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Installing GitHub Copilot CLI | Install Copilot CLI | Learn how to install {% data variables.copilot.copilot_cli_short %} so that you can use {% data variables.product.prodname_copilot_short %} directly from the command line. |
|
|
|
how-tos |
|
{% data reusables.cli.preview-note-cli %}
To find out about {% data variables.copilot.copilot_cli_short %} before you install it, see AUTOTITLE.
Prerequisites
- A {% data variables.product.prodname_copilot %} subscription. See Copilot plans.
- Node.js version 22 or later
- npm version 10 or later
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.
Installing or updating {% data variables.copilot.copilot_cli_short %}
Run the following command to install or update {% data variables.copilot.copilot_cli_short %}.
npm install -g @github/copilot
Next steps
You can now use {% data variables.product.prodname_copilot_short %} from the command line. See AUTOTITLE.