Build from source
Building Nimbus from source ensures that all hardware-specific optimizations are turned on. The build process itself is simple and fully automated, but may take a few minutes.
Nimbus is written in the Nim programming language - the correct version will automatically be downloaded as part of the build process!
If you are planning to use the precompiled binaries, you can skip this section and go straight to the binaries!
When building from source, you will need additional build dependencies to be installed:
- Developer tools (C compiler, Make, Bash, Git)
On common Linux distributions the dependencies can be installed with
To build Nimbus on Windows, the MinGW-w64 build environment is recommended.
Install Mingw-w64 for your architecture using the "MinGW-W64 Online Installer":
- Select your architecture in the setup menu (
- Set threads to
- Set exceptions to "dwarf" on 32-bit and "seh" on 64-bit.
- Change the installation directory to
C:\mingw-w64and add it to your system PATH in
"My Computer"/"This PC" -> Properties -> Advanced system settings -> Environment Variables -> Path -> Edit -> New -> C:\mingw-w64\mingw64\bin(
Install Git for Windows and use a "Git Bash" shell to clone and build
Note: If the online installer isn't working you can try installing
- Install the Termux app from FDroid or the Google Play store
- Install a PRoot of your choice following the instructions for your preferred distribution. Note, the Ubuntu PRoot is known to contain all Nimbus prerequisites compiled on Arm64 architecture (the most common architecture for Android devices).
Assuming you use Ubuntu PRoot
Building the node
1. Clone the
2. Run the beacon node build process
To build the Nimbus beacon node and its dependencies, run:
-j4 on systems with 4GB of memory or less.