Skip to main content

Cette version de GitHub Enterprise Server ne sera plus disponible le 2025-08-27. Aucune publication de correctifs n’est effectuée, même pour les problèmes de sécurité critiques. Pour de meilleures performances, une sécurité améliorée et de nouvelles fonctionnalités, effectuez une mise à niveau vers la dernière version de GitHub Enterprise. Pour obtenir de l’aide sur la mise à niveau, contactez le support GitHub Enterprise.

Uploading a new license to GitHub Enterprise Server

You can upload your license file for GitHub Enterprise to votre instance GitHub Enterprise Server to validate your application.

About license files for GitHub Enterprise

After you purchase or upgrade a license for GitHub Enterprise from L’équipe commerciale GitHub, you must upload the new license file to votre instance GitHub Enterprise Server to unlock your new user licenses. For more information, see Combined GitHub Enterprise cloud and server use and Téléchargement de votre licence pour GitHub Enterprise.

Si vous souhaitez renouveler ou ajouter des licences utilisateur dans GitHub Enterprise, ou si vous avez des questions sur votre licence, contactez L’équipe commerciale GitHub. Votre nouveau fichier de licence pourra être téléchargé immédiatement après avoir terminé votre commande.

Uploading your license from the Management Console

  1. Sign into votre instance GitHub Enterprise Server as a site administrator.

  2. Dans le coin supérieur droit de GitHub Enterprise Server, cliquez sur votre photo de profil, puis sur Paramètres d’entreprise.

    Capture d’écran du menu déroulant affiché lorsque vous cliquez sur la photo du profil sur GitHub Enterprise Server. L’option « Paramètres de l’entreprise » est mise en évidence.

  3. Sur le côté gauche de la page, dans la barre latérale du compte d’entreprise, cliquez sur Paramètres.

  4. Sous Settings, cliquez sur Licence.

  5. In the "User licenses" section, under "Quick links", click Update license.

    Screenshot of the "User licenses" section of the "License" page. A link, labeled "Update license", is outlined in dark orange.

  6. To upload your license, click License file, or drag your license file onto License file.

    Screenshot of the "License" page of the Management Console. A link, labeled "License file", is highlighted with an orange outline.

  7. Click Upload. Your license will be updated in the background. The change may take a few minutes before it is visible on your instance.

Uploading your license with the REST API

You can use the REST API to upload a license to votre instance GitHub Enterprise Server. See Points de terminaison d’API REST pour la gestion de GitHub Enterprise Server.

Uploading a license with the GitHub CLI

You can import a license to votre instance GitHub Enterprise Server using the gh es extension of the GitHub CLI. See the usage instructions in the github/gh-es repository on GitHub.com.

For more information about accessing your instance via the extension, see Administration de votre instance à l’aide de l’interface CLI GitHub.

Uploading a license via SSH

You can upload and interact with your license from the command line via SSH. See the documentation for the ghe-license command in Utilitaires de ligne de commande. For more information about accessing your instance via SSH, see Accès à l’interpréteur de commandes d’administration (SSH).