Development environment
This page will go over setting up your development environment to run Celestia software. This environment can be used for development, building binaries, and running nodes.
Supported architectures
Celestia-app and celestia-node only officially support the following architectures:
- linux/amd64
- linux/arm64
- darwin/amd64 (macOS Intel)
- darwin/arm64 (macOS Apple Silicon)
Only these four architectures are officially tested and supported.
Install dependencies
Select your platform to update the OS and install required packages:
Install Go
Install Go to build celestia-node or celestia-app from source. The versions below
meet the Go requirements of the releases documented for each network.
When building a different release, check the go and, if present, toolchain
directives in that release's go.mod before choosing a Go version.
| Network | celestia-node requirements | celestia-app requirements |
|---|---|---|
| Mainnet Beta | Release go.mod | Release go.mod |
| Mocha | Release go.mod | Release go.mod |
Set the version for your desired network:
- Mainnet Beta:
ver="1.26.8" - Mocha:
ver="1.26.8"
Download and install Go:
Configure Go and verify
Add your /usr/local/go/bin directory to your $PATH if you have not already:
To verify that the correct version of Go was installed correctly run:
go versionThe output will show the version installed.