Prerequisites
Before installing SSV Node, ensure your system meets the following requirements:- Git - Version control system
- Go - Version 1.24 or higher
- Docker - Container runtime (optional, for Docker-based deployment)
- Make - Build automation tool
- yq - YAML processor (for local network development)
Verify Prerequisites
Check Go version
Ensure you have Go 1.24 or higher installed:If you need to install or update Go, visit golang.org/dl
Installation Methods
- From Source
- Docker
Clone the Repository
The build process compiles with the following flags:
- Git commit hash for version tracking
- Git tag for release version
- CGO enabled for optimal performance
Build Configuration
Build Options
The Makefile supports several build configurations:| Command | Description |
|---|---|
make build | Standard build with version info |
make docker | Build and run in Docker (background) |
make docker-run | Build and run in Docker (foreground) |
make docker-image | Run using official Docker image |
Custom Build Flags
The build process automatically includes:- Commit Hash: Current Git commit for traceability
- Version: Git tag if on a tagged release, otherwise “untagged”
- CGO: Enabled for performance optimization
Development Build
For development purposes, you can build with additional debugging capabilities:Next Steps
After successful installation:- Configure your node with the required settings
- Follow the Quick Start Guide to run your first node
- Generate operator keys for your node setup
Generate Operator Keys
Learn how to generate and secure your operator keys
Troubleshooting
Build fails with 'go: module not found'
Build fails with 'go: module not found'
Ensure you’ve run
go mod download and that your Go version meets the minimum requirement (1.24+).Docker build fails
Docker build fails
Make sure Docker is running and you have sufficient disk space:
Permission denied when running binary
Permission denied when running binary
Ensure the binary has execute permissions:
Source Code Reference
The main build configuration is defined in:/Makefile- Build automation and commands/Dockerfile- Multi-stage Docker build configuration/cmd/ssvnode/- Main application entry point
