> For the complete documentation index, see [llms.txt](https://docs.umbraco.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.umbraco.com/umbraco-ui-builder/17.latest/upgrading/upgrade.md).

# Upgrading Umbraco UI Builder

Learn how to manually upgrade Umbraco UI Builder to the latest version.

This article explains how to manually upgrade Umbraco UI Builder to the latest version. Before upgrading Umbraco UI Builder, see the [Version Specific Upgrade Notes](/umbraco-ui-builder/17.latest/upgrading/version-specific.md) for potential breaking changes and common pitfalls.

{% hint style="warning" %}
Before upgrading, take a complete backup of your site and database.
{% endhint %}

## Get the latest version of Umbraco UI Builder

To get the latest version of Umbraco UI Builder, you can upgrade using either of the two options:

* [NuGet](#nuget)
* [Visual Studio](#visual-studio)

### NuGet

* To install the latest version via NuGet:

```sh
dotnet add package Umbraco.UIBuilder
```

* To specify a package version:

```sh
dotnet add package Umbraco.UIBuilder --version <VERSION>
```

* After adding the package reference, restore dependencies:

```sh
dotnet restore
```

### Visual Studio

1. Open Visual Studio.
2. Navigate to `Tools` -> `NuGet Package Manager` -> `Manage NuGet Packages for Solution...`.
3. Select **Umbraco.UIBuilder**.
4. Choose the latest version from the drop-down and click **Install**.
5. After installation, verify the update in your **.csproj** file:

```xml
<ItemGroup>
  <PackageReference Include="Umbraco.UIBuilder" Version="xx.x.x" />
</ItemGroup>
```

## Upgrade Sub-Packages

If you are using any of the following sub-packages, upgrade them as well:

| Sub-package                        | Description                                            |
| ---------------------------------- | ------------------------------------------------------ |
| Umbraco.UIBuilder.Core             | Core functionality without infrastructure dependencies |
| Umbraco.UIBuilder.Infrastructure   | Infrastructure-specific implementations                |
| Umbraco.UIBuilder.Web              | Core logic requiring a web context                     |
| Umbraco.UIBuilder.Web.StaticAssets | Static assets for the presentation layer               |
| Umbraco.UIBuilder.Startup          | Registers UI Builder with Umbraco                      |
| Umbraco.UIBuilder                  | The main UI Builder package                            |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.umbraco.com/umbraco-ui-builder/17.latest/upgrading/upgrade.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
