# Update licenses in the Admin Console

This topic describes how to update a license from the KOTS Admin Console.

## Update online licenses

To update licenses in online environments:

1. In the Admin Console, go to the **License** tab.

1. Click **Sync license** to get the latest updates.

   ![Online License](/images/online-license-tab.png)

   [View a larger version of this image](/images/online-license-tab.png)

   :::note
   If no changes are detected, a **License is already up to date** message appears.
   :::

   When the license is updated, KOTS makes a new version available that includes the license changes:

   ![License updated successfully](/images/kots-license-update-message.png)

   [View a larger version of this image](/images/kots-license-update-message.png)

1. In the dialog, click **Go to new version** to navigate to the **Version history** page.

1. On the **Version history** page, next to the new version labeled **License Change**, click **Deploy** then **Yes, deploy**.

    ![Deploy license change](/images/kots-deploy-license-change.png)

    [View a larger version of this image](/images/kots-deploy-license-change.png)

    The version with the license change is then displayed as the currently deployed version, as shown below: 

    ![Currently deployed version](/images/kots-license-change-currently-deployed.png)

    [View a larger version of this image](/images/kots-license-change-currently-deployed.png)

## Update air gap licenses

To update licenses in air gap environments:

1. Download the new license. Ensure that it is available on the machine where you can access a browser. 

1. In the Admin Console, go to the **License** tab.

1. Click **Upload license** and select the new license.

   ![Airgap License](/images/airgap-license-tab.png)

   [View a larger version of this image](/images/airgap-license-tab.png)

   :::note
   If no changes are detected, a **License is already up to date** message appears.
   :::

   When the license is updated, KOTS makes a new version available that includes the license changes:

   ![License updated successfully](/images/kots-airgap-license-update-message.png)

   [View a larger version of this image](/images/kots-airgap-license-update-message.png)

1. In the dialog, click **Go to new version** to navigate to the **Version history** page.

1. On the **Version history** page, next to the new version labeled **License Change**, click **Deploy** then **Yes, deploy**.

    ![Deploy license change](/images/kots-deploy-license-change.png)

    [View a larger version of this image](/images/kots-deploy-license-change.png)

    The version with the license change is then displayed as the currently deployed version, as shown below: 

    ![Currently deployed version](/images/kots-license-change-currently-deployed.png)

    [View a larger version of this image](/images/kots-license-change-currently-deployed.png)

## Upgrade from a community license

If you have a community license, you can change your license by uploading a new one. This allows you to upgrade from a community version of the software without having to reinstall the Admin Console and the application.

To change a community license to another license:

1. Download the new license.
1. In the **License** tab of the Admin Console, click **Change license**.
1. In the dialog, upload the new license file.