# License Update

Follow this guide to update your Supervisely license.

There are two ways to apply a new license key to your instance:

#### Updating the license using Supervisely CLI

```
sudo supervisely set-license
<insert the text from the provided license key file>
```

After you apply the command, you should receive the following message:

```
License has been updated
```

#### Updating the license using Supervisely interface

Login to your instance as the *admin* user and open the menu in the top right corner. Navigate to the "Licenses".

![Screenshot\_licenses](https://user-images.githubusercontent.com/48245050/227457809-2074c69a-c4df-46a7-be5e-85e05909390d.png)

Here you will be able to apply the contents of the provided license key file. After you successfully apply the key, the page will update to display the new license end date. Additionally, you can check the license properties by clicking the 'i' button.

![Screenshot\_application](https://user-images.githubusercontent.com/48245050/227458019-b5d83545-17d4-41d7-a5e5-03b364c57ad3.png)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.supervisely.com/enterprise-edition/get-supervisely/updating-the-license.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
