Install celestia-node
This tutorial goes over building and installing celestia-node. This tutorial assumes you completed the steps in setting up your development environment.
Install the celestia-node binary by running the following commands:
Remove any existing copy of celestia-node, clone the repository, and change into the directory:
bashcd $HOME rm -rf celestia-node git clone https://github.com/celestiaorg/celestia-node.git cd celestia-node/
cd $HOME rm -rf celestia-node git clone https://github.com/celestiaorg/celestia-node.git cd celestia-node/
Check out to the desired version, based on the network you will use:
bashgit checkout tags/v0.11.0
git checkout tags/v0.11.0
bashgit checkout tags/v0.11.0
git checkout tags/v0.11.0
Build the
celestia
binary:bashmake build
make build
Install the binary:
bashmake install
make install
bashmake go-install
make go-install
Build the
cel-key
utility:bashmake cel-key
make cel-key
Verify that the binary is working and check the version:
bashcelestia version
celestia version
The output will show the semantic version of celestia-node, commit hash, build date, system version, and Golang version.
Next steps
First, we recommend reading the overview of our node types, if you haven't yet.
Now that you've installed Celestia Node, it's time to pick your node type and run your node!
If you're planning to run a light node, we recommend the node RPC CLI tutorial.
Upgrading your binary
To upgrade your binary, you can install the latest version from the instructions above and restart your node. If you run into any issues, Refer to the troubleshooting section.