# Update the node program

#### When the team upgrade the node program, your nodes will need to be manually updated.

1.Use the `cd` command to navigate to the **hyperAGI-setup-script** directory:

{% code title="Copy code" %}

```bash
hyperAGI-setup-script
```

{% endcode %}

2.Update the Git repository code:

{% code title="Copy code" %}

```bash
git pull origin main
```

{% endcode %}

3.Execute the following commands to complete the update and restart operations:

{% code title="Copy code" %}

```bash
docker-compose pull && docker-compose down && docker-compose up -d
```

{% endcode %}


---

# 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://hyperdust-foundation.gitbook.io/hyperagi-docs/mining/node-mining/run-a-hyper-node/update-the-node-program.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.
