# Download the Node Management Scripts

Before proceeding with the upgrade, download the latest node management scripts.

To download the script, run the following command:

```
wget -O install_management_scripts.sh https://raw.githubusercontent.com/Entropy-Foundation/supra-nodeops-data/refs/heads/master/node_management/install_management_scripts.sh
```

Then make it executable by running the following command:

```
chmod +x ./install_management_scripts.sh
```

Now run the script using the following command:

```
./install_management_scripts.sh
```

This installs the following scripts:

| `manage_supra_nodes.sh` | This handles node updates, syncing, and restarts.                      |
| ----------------------- | ---------------------------------------------------------------------- |
| `migrate_to_vX.X.X.sh`  | This is a migration script for upgrading the database and CLI profile. |


---

# 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://supraoracles.gitbook.io/supra/network/node/node-upgrade-guide-mainnet/download-the-node-management-scripts.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.
