Overview
This guide is for developers who want to build, run, and test Prysm from a repository clone. Prysm builds with Bazel, which downloads its own Go toolchain and every dependency, so a fresh machine needs little more than Bazelisk and git.
If you only want to run Prysm, you don't need any of this. Use the Quickstart and Install Prysm instead.
Before you begin
- A Linux (x86-64 or ARM64) or macOS (Apple Silicon or Intel) machine.
gitand a network connection. The first build downloads the toolchains and all dependencies.- Plenty of free disk space for Bazel's caches, which grow with every configuration you build.
Clone the repository. The default branch, develop, is the one pull requests target:
git clone https://github.com/OffchainLabs/prysm.git
cd prysm
Run every command in this guide from the root of the clone.