> For the complete documentation index, see [llms.txt](https://docs.nuvens.cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nuvens.cloud/install/upgrade-procedures/upgrade-to-latest-version.md).

# Upgrade to Latest Version

**1. Download and Extract**

* Download the zip package from: <https://wsm.nuvens.co/update>
* Extract to a folder on the IIS EC2 instance.\
  Example: `D:\WSMUpdate`

**2. Run the Updater**

* Run an elevated Command Prompt as Administrator
* Navigate to where the update tool has been extracted
* Run the executable: `WSMUpdate.exe`

{% hint style="info" %}
**Note**: The updater will fetch the latest version automatically and apply the latest migrations using the connection string stored in the Amazon Secret defined by the `WSMCORE_SECRET_KEY` environment variable. Without additional arguments it will apply default parameters which are defined below.
{% endhint %}

**3. Optional Arguments**

You can override the default behaviour by providing command-line arguments:

* `-release [Beta/Stable]`\
  Default: `Stable`\
  Example: `WSMUpdate.exe -release Stable`
* `-path ["D:\WSMDirectory"]`\
  Default: `"D:\PortalCore"`\
  Example: `WSMUpdate.exe -path "D:\PortalCore"`

{% hint style="danger" %}
**Do NOT include square brackets `[]` when entering argument values**
{% endhint %}

{% hint style="info" %}
From Version 6.1.16 the update feature in WorkSpace Manager will automatically do all this for you. Previous versions have an issue applying migrations so the update tool is recommended
{% endhint %}


---

# 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.nuvens.cloud/install/upgrade-procedures/upgrade-to-latest-version.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.
