> 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

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 dynamically by asking a question.

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

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
