# Upgrade

### Manually & Auto

```
cd $HOME
rm -rf wardenprotocol
git clone https://github.com/warden-protocol/wardenprotocol.git
cd wardenprotocol
git checkout v0.7.4
make install-wardend
sudo mv wardend $HOME/go/bin/
sudo systemctl restart wardend && sudo journalctl -u wardend -fo cat
```

```
cd $HOME && \
wget -O wardend https://github.com/warden-protocol/wardenprotocol/releases/download/v0.7.4/wardend-v0.7.4-linux-amd64 && \
chmod +x $HOME/wardend && \
old_bin_path=$(which wardend) && \
home_path=$HOME && \
rpc_port=$(grep -m 1 -oP '^laddr = "\K[^"]+' "$HOME/.warden/config/config.toml" | cut -d ':' -f 3) && \
tmux new -s warden-upgrade "sudo bash -c 'curl -s https://raw.githubusercontent.com/appieasahbie/testnet-guides/main/utils/autoupgrade/upgrade.sh | bash -s -- -u \"1310000\" -b wardend -n \"$HOME/lavad\" -o \"$old_bin_path\" -h \"$home_path\" -p \"https://api.warden.aknodes.net//cosmos/gov/v1/proposals/5\" -r \"$rpc_port\"'"
```


---

# 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.aknodes.com/warden-protocol/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.
