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 Server

When you purchase or download a new license for GitHub Enterprise Server you must upload the new license file to GitHub Enterprise Server to unlock your new user licenses.

If you use GitHub Enterprise Cloud, you can download a license from your enterprise. For more information, see Uso combinado de servidor e nuvem do GitHub Enterprise 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 GitHub Enterprise Server as a site administrator.

  2. No canto superior direito do GitHub, selecione sua imagem de perfil.

  3. Dependendo do ambiente, selecione Sua empresa ou Suas empresas e escolha a empresa que deseja ver.

  4. Na parte superior da página, clique em Configurações.

  5. Under Settings, click Licensing.

  6. In the "User licenses" section, under "Quick links", click Update license. If prompted, enter the root password for your instance.

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

  7. To upload your license, click License file and select your license file. Alternatively, drag your license file onto the License file upload area.

    Screenshot of the "License" page of the Management Console. The "License file" upload area is highlighted with an orange outline.

  8. 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 GitHub.com. See Pontos de extremidade da API REST para gerenciar o GitHub Enterprise Server in the documentation for GitHub Enterprise Server.

Uploading a license with the GitHub CLI

You can import a license to GitHub.com 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 in the documentation for GitHub Enterprise Server.

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 in the documentation for GitHub Enterprise Server.

For more information about accessing your instance via SSH, see Acesar o shell administrativo (SSH) in the documentation for GitHub Enterprise Server.