Skip to main content

Uploading a new license to GitHub Enterprise Server

You can upload your license file for GitHub Enterprise to sua instância do GitHub Enterprise Server to validate your application.

About license files for GitHub Enterprise

After you purchase or upgrade a license for GitHub Enterprise from Equipe de vendas do GitHub, you must upload the new license file to sua instância do GitHub Enterprise Server to unlock your new user licenses. For more information, see Combined GitHub Enterprise cloud and server use and Fazendo o download da sua licença para o GitHub Enterprise.

Caso deseje renovar ou adicionar licenças de usuário ao GitHub Enterprise ou caso tenha dúvidas sobre sua licença, entre em contato com Equipe de vendas do GitHub. Seu novo arquivo de licença estará disponível para download logo após a conclusão do pedido.

Uploading your license from the Console de Gerenciamento

  1. Sign into sua instância do GitHub Enterprise Server as a site administrator.

  2. No canto superior à direita de GitHub Enterprise Server, clique na sua foto do perfil e clique em Configurações da empresa.

    Captura de tela do menu suspenso mostrado quando você clica no foto de perfil no GitHub Enterprise Server. A opção "Enterprise settings" está contornada.

  3. No lado esquerdo da página, na barra lateral da conta empresarial, clique em Configurações.

  4. Em Configurações, clique em Licença.

  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 sua instância do GitHub Enterprise Server. See Pontos de extremidade da API REST para gerenciar o GitHub Enterprise Server.

Uploading a license with the GitHub CLI

You can import a license to sua instância do 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 Como administrar sua instância usando a CLI do 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 Utilitários de linha de comando. For more information about accessing your instance via SSH, see Acesar o shell administrativo (SSH).