Skip to content

Commit df7cd14

Browse files
author
Gregg Juan Eduardo Palomo Herrera
authored
Merge branch 'main' into patch-2
2 parents 56d2ef1 + 98733be commit df7cd14

File tree

6 files changed

+36
-25
lines changed

6 files changed

+36
-25
lines changed

content/admin/managing-accounts-and-repositories/managing-organizations-in-your-enterprise/custom-properties.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ intro: 'Custom properties allow you to add structured metadata to repositories a
44
permissions: 'Repository custom properties can be managed by organization owners and users with admin permissions to the repository. Organization custom properties can be managed by enterprise owners and users with the "Manage the Enterprise''s custom properties definitions" permission.'
55
versions:
66
ghec: '*'
7-
ghes: '*'
7+
ghes: '>= 3.21'
88
topics:
99
- Enterprise
1010
- Organizations

content/admin/managing-accounts-and-repositories/managing-organizations-in-your-enterprise/managing-custom-properties-for-organizations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ intro: 'With custom properties, you can add metadata to organizations in your en
44
permissions: 'Enterprise owners {% ifversion custom-org-roles %}and users with the "Manage the Enterprise''s custom properties definitions" permission {% endif %}can add and set a custom property schema at the enterprise level.'
55
versions:
66
ghec: '*'
7-
ghes: '*'
7+
ghes: '>= 3.21'
88
topics:
99
- Enterprise
1010
- Organizations

content/copilot/how-tos/copilot-cli/cli-getting-started.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,23 @@ Use one of these commands:
2525

2626
* **Cross-platform (npm)**
2727

28-
```bash copy
29-
npm install -g @github/copilot
30-
```
28+
Prerequisite: {% data variables.copilot.copilot_cli_npm_version %}.
29+
30+
```bash copy
31+
npm install -g @github/copilot
32+
```
3133

3234
* **Windows (WinGet)**
3335

34-
```bash copy
35-
winget install GitHub.Copilot
36-
```
36+
```bash copy
37+
winget install GitHub.Copilot
38+
```
3739

3840
* **macOS/Linux (Homebrew)**
3941

40-
```bash copy
41-
brew install copilot-cli
42-
```
42+
```bash copy
43+
brew install copilot-cli
44+
```
4345

4446
## Starting the CLI for the first time
4547

content/copilot/how-tos/copilot-cli/install-copilot-cli.md

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,27 @@ If you have access to {% data variables.product.prodname_copilot %} via your org
3636

3737
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).
3838

39+
### Installing with npm (all platforms)
40+
41+
Prerequisite: {% data variables.copilot.copilot_cli_npm_version %}.
42+
43+
```shell copy
44+
npm install -g @github/copilot
45+
```
46+
47+
> [!NOTE]
48+
> If you have `ignore-scripts=true` in your `~/.npmrc` file, you must use the command:
49+
>
50+
> ```shell copy
51+
> npm_config_ignore_scripts=false npm install -g @github/copilot
52+
> ```
53+
54+
To install the prerelease version:
55+
56+
```shell copy
57+
npm install -g @github/copilot@prerelease
58+
```
59+
3960
### Installing with WinGet (Windows)
4061

4162
```powershell copy
@@ -60,18 +81,6 @@ To install the prerelease version:
6081
brew install copilot-cli@prerelease
6182
```
6283

63-
### Installing with npm (all platforms, requires Node.js 22+)
64-
65-
```shell copy
66-
npm install -g @github/copilot
67-
```
68-
69-
To install the prerelease version:
70-
71-
```shell copy
72-
npm install -g @github/copilot@prerelease
73-
```
74-
7584
### Installing with the install script (macOS and Linux)
7685

7786
```shell copy
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
> [!NOTE]
2-
> Organization custom properties are in public preview and subject to change.
3-
> For {% data variables.product.prodname_ghe_server %}, this feature will only be available from version 3.22.
2+
> For {% data variables.product.prodname_ghe_server %}, this feature will only be available from version 3.21.

data/variables/copilot.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ copilot_cli_short: 'Copilot CLI'
7272
copilot_cli: 'GitHub Copilot CLI'
7373
copilot_old-cli_short: 'Copilot in the CLI'
7474
copilot_old-cli: 'GitHub Copilot in the CLI'
75+
copilot_cli_npm_version: 'Node.js 22 or later'
7576

7677
## Copilot custom agents
7778
copilot_custom_agent: 'Copilot custom agent'

0 commit comments

Comments
 (0)