The Nimbus beacon chain can run on Linux, macOS, Windows, and Android. At the moment, Nimbus has to be built from source, which means you'll need to install some dependencies.
The beacon chain relies on your computer having the correct time set (plus or minus 0.5 seconds).
We recommended you run a high quality time service on your computer such as chrony. Chrony is much more performant than the default NTP server. It's a simple install:
# Debian and Ubuntu sudo apt-get install -y chrony # Fedora dnf install chrony # Archlinux, using an AUR manager yourAURmanager chrony
Chrony will uninstall any existing NTP servers.
It's available on most package managers.
Once installed, the default configuration is good enough.
At a minimum, you should run an NTP client (such as chrony) on the server. Note that most operating systems (including macOS') automatically sync with NTP by default.
If the above sounds like latin to you, don't worry. You should be fine as long as you haven't messed around with the time and date settings on your computer (they should be set automatically).
- Developer tools (C compiler, Make, Bash, Git)
Nimbus will build its own local copy of Nim, so Nim is not an external dependency,
On common Linux distributions the dependencies can be installed with
# Debian and Ubuntu sudo apt-get install build-essential git # Fedora dnf install @development-tools # Archlinux, using an AUR manager yourAURmanager -S base-devel
Assuming you use Homebrew to manage packages
brew install cmake
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
apt install build-essential git