# 🛠️  Upgrade

***Automatic upgrade***

```bash
source <(curl -s https://raw.githubusercontent.com/validexisinfra/Story/main/upgrade_testnet.sh)
```

***Manual upgrade***

```bash
cd $HOME
rm -rf story
git clone https://github.com/piplabs/story
cd story
git checkout v1.4.2
go build -o story ./client 
sudo systemctl stop story-geth
wget -O $(which geth) https://github.com/piplabs/story-geth/releases/download/v1.2.0/geth-linux-amd64
chmod +x $(which geth)
sudo systemctl start story-geth
sudo mv $HOME/story/story $(which story)
sudo systemctl restart story && sudo journalctl -u story -f
```


---

# 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://services.validexis.com/testnets/story/upgrade.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.
