You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/admin/administering-your-instance/administering-your-instance-from-the-command-line/command-line-utilities.md
+64-3Lines changed: 64 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1132,6 +1132,67 @@ This utility rewrites the imported repository. This gives you a chance to rename
1132
1132
git-import-rewrite
1133
1133
```
1134
1134
1135
+
{% ifversion ghes > 3.12 %}
1136
+
1137
+
## License
1138
+
1139
+
### ghe-license
1140
+
1141
+
This utility lets you interact with your current active license, or with new licenses without needing to import them first. You can also directly apply the license to make the changes effective using `--apply`. Applying changes with the `ghe-license` utility avoids a configuration run and only restarts the affected services.
1142
+
1143
+
You can review the possible commands and flags using `ghe-license -h`.
1144
+
1145
+
Alternatively, you can manage licenses using the REST API or the {% data variables.product.prodname_cli %}. See "[AUTOTITLE](/rest/enterprise-admin/manage-ghes)" and "[AUTOTITLE](/admin/administering-your-instance/administering-your-instance-from-the-command-line/administering-your-instance-using-the-github-cli)."
1146
+
1147
+
Display license information. Alternatively, use the `-j` flag for JSON formatting.
This utility exports a list of the installation's users in JSON format. If your instance is connected to {% data variables.product.prodname_ghe_cloud %}, {% data variables.product.prodname_ghe_server %} uses this information for reporting licensing information to {% data variables.product.prodname_ghe_cloud %}. For more information, see "[AUTOTITLE](/admin/configuration/configuring-github-connect/managing-github-connect)."
1320
1381
1321
-
By default, the list of users in the resulting JSON file is encrypted. Use the `-h` flag for more options.
1382
+
By default, the list of users in the resulting JSON file is encrypted. {% ifversion ghes > 3.12 %}Review optional flags via `ghe-license --help`{% else %}Use the `-h` flag for more options{% endif %}.
Copy file name to clipboardExpand all lines: content/billing/managing-your-license-for-github-enterprise/uploading-a-new-license-to-github-enterprise-server.md
+22-2Lines changed: 22 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,13 +16,15 @@ After you purchase or upgrade a license for {% data variables.product.prodname_e
16
16
17
17
{% data reusables.enterprise-licensing.contact-sales-for-renewals-or-seats %}
18
18
19
-
## Uploading your license to {% data variables.location.product_location_enterprise %}
19
+
## Uploading your license from the {% data variables.enterprise.management_console %}
20
20
21
+
{% ifversion ghes < 3.13 %}
21
22
{% warning %}
22
23
23
24
**Warning:** Updating your license causes a small amount of downtime for {% data variables.location.product_location %}.
24
25
25
26
{% endwarning %}
27
+
{% endif %}
26
28
27
29
1. Sign into {% data variables.location.product_location_enterprise %} as a site administrator.
28
30
{% data reusables.enterprise-accounts.access-enterprise %}
@@ -34,4 +36,22 @@ After you purchase or upgrade a license for {% data variables.product.prodname_e
34
36
1. To upload your license, click **License file**, or drag your license file onto **License file**.
35
37
36
38

37
-
1. Click **Upload**.
39
+
1. Click **Upload**.{% ifversion ghes > 3.12 %} Your license will be updated in the background. The change may take a few minutes before it is visible on your instance.{% endif %}
40
+
41
+
{% ifversion ghes > 3.12 %}
42
+
43
+
## Uploading your license with the REST API
44
+
45
+
You can use the REST API to upload a license to {% data variables.location.product_location %}. See "[AUTOTITLE](/rest/enterprise-admin/manage-ghes#upload-an-enterprise-license)."
46
+
47
+
## Uploading a license with the {% data variables.product.prodname_cli %}
48
+
49
+
You can import a license to {% data variables.location.product_location %} using the `gh es` extension of the {% data variables.product.prodname_cli %}. See the [usage instructions](https://github.com/github/gh-es/blob/main/USAGE.md#gh-es-config-import-license) in the `github/gh-es` repository on {% data variables.product.prodname_dotcom_the_website %}.
50
+
51
+
For more information about accessing your instance via the extension, see "[AUTOTITLE](/admin/administering-your-instance/administering-your-instance-from-the-command-line/administering-your-instance-using-the-github-cli)."
52
+
53
+
## Uploading a license via SSH
54
+
55
+
You can upload and interact with your license from the command line via SSH. See the documentation for the `ghe-license` command in "[AUTOTITLE](/admin/administering-your-instance/administering-your-instance-from-the-command-line/command-line-utilities#ghe-license)." For more information about accessing your instance via SSH, see "[AUTOTITLE](/admin/administering-your-instance/administering-your-instance-from-the-command-line/accessing-the-administrative-shell-ssh)."
0 commit comments