> For the complete documentation index, see [llms.txt](https://services.luckyresearch.org/lucky-research-services/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://services.luckyresearch.org/lucky-research-services/mainet/celestia/upgrade.md).

# Upgrade

Validator Mainnet

```
sudo systemctl stop celestia-appd
cd $HOME 
rm -rf celestia-app 
git clone https://github.com/celestiaorg/celestia-app.git 
cd celestia-app/ 
APP_VERSION=v3.0.2
git checkout tags/$APP_VERSION -b $APP_VERSION 
make install
sudo systemctl restart celestia-appd && sudo journalctl -u celestia-appd -f
```

Bridge Shwap Node Mainnet

```
sudo systemctl stop celestia-bridge.service
cd $HOME 
rm -rf celestia-node 
git clone https://github.com/celestiaorg/celestia-node.git 
cd celestia-node
git fetch --tags
git checkout v0.20.4
make build
make install
sudo mv $HOME/celestia-node/build/celestia /usr/local/bin/
celestia bridge config-update --p2p.network mocha --node.store /mnt/data/.celestia-bridge 
sudo systemctl restart celestia-bridge && journalctl -u celestia-bridge -o cat -f
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.luckyresearch.org/lucky-research-services/mainet/celestia/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.
