# Upgrade

***🟢UPDATE🟢*****&#x20;17.10.24**&#x20;

*<mark style="color:yellow;">at Height -></mark>* 1510000

```bash
cd $HOME
wget -O 0gchaind https://github.com/0glabs/0g-chain/releases/download/v0.4.0/0gchaind-linux-v0.4.0
chmod +x 0gchaind
mv 0gchaind $(which 0gchaind)
0gchaind version --long | grep -e commit -e version
#version: 0.4.0
#commit: 840deea660500f3948300ea3e9a1cba878ed682b
systemctl restart 0gchaind && journalctl -fu 0gchaind -o cat
#consensus
curl -s http://localhost:26657/consensus_state  | jq '.result.round_state.height_vote_set[0].prevotes_bit_array'
```

&#x20;                                    **GitHub**

<https://github.com/0glabs/0g-chain.git>
