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