# Upgrade

v5

Upgrade height:  [10192266](https://explorer.coinhunterstr.com/Dymension/block/10192266) Please don\`t upgrade before the specified height;

```
cd $HOME && \
wget -O dymension_Linux_amd64.tar.gz https://github.com/dymensionxyz/dymension/releases/download/v4.0.0-rc06/dymension_Linux_amd64.tar.gz && \
tar -xzf dymension_Linux_amd64.tar.gz && \
chmod +x $HOME/dymd && \
rm dymension_Linux_amd64.tar.gz && \
old_bin_path=$(which dymd) && \
home_path=$HOME && \
rpc_port=$(grep -m 1 -oP '^laddr = "\K[^"]+' "$HOME/.dymension/config/config.toml" | cut -d ':' -f 3) && \
[[ -z "$rpc_port" ]] && rpc_port=$(grep -oP 'node = "tcp://[^:]+:\K\d+' "$HOME/.dymension/config/client.toml") ; \
tmux new -s dym-upgrade "sudo bash -c 'curl -s https://raw.githubusercontent.com/CoinHuntersTR/Logo/refs/heads/main/autoupgrade/upgrade.sh | bash -s -- -u \"10192266\" -b dymd -n \"$HOME/dymd\" -o \"$old_bin_path\" -h \"$home_path\" -p \"https://dymension.explorers.guru/proposal/31\" -r \"$rpc_port\"'"
```

v3.2.0

Upgrade height: [5135550](https://explorer.coinhunterstr.com/Dymension/block/5135550)  Please don\`t upgrade before the specified height;

### Manul Upgrade

```
cd $HOME
wget -O dymd https://github.com/dymensionxyz/dymension/releases/download/v3.2.0/dymd
chmod +x $HOME/dymd
sudo mv $HOME/dymd $(which dymd)
sudo systemctl restart dymd && sudo journalctl -u dymd -f
```

### Auto Upgrade

```
cd $HOME && \
wget -O dymd https://github.com/dymensionxyz/dymension/releases/download/v3.2.0/dymd && \
chmod +x $HOME/dymd && \
old_bin_path=$(which dymd) && \
home_path=$HOME && \
rpc_port=$(grep -m 1 -oP '^laddr = "\K[^"]+' "$HOME/.dymension/config/config.toml" | cut -d ':' -f 3) && \
[[ -z "$rpc_port" ]] && rpc_port=$(grep -oP 'node = "tcp://[^:]+:\K\d+' "$HOME/.dymension/config/client.toml") ; \
tmux new -s dym-upgrade "sudo bash -c 'curl -s https://raw.githubusercontent.com/CoinHuntersTR/Logo/refs/heads/main/autoupgrade/upgrade.sh | bash -s -- -u \"5135550\" -b dymd -n \"$HOME/dymd\" -o \"$old_bin_path\" -h \"$home_path\" -p \"https://explorer.coinhunterstr.com/Dymension/gov/24\" -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://service.coinhunterstr.com/mainnet/dymension/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.
