This page details how to build the main Nym platform code, in Rust. If you want to build and run a validator, go here instead.
Nym runs on Mac OS X, Linux, and Windows. Windows should be considered experimental - it works fine if you're an app developer but isn't recommended for running nodes.
sudo apt updatesudo apt install pkg-config build-essential libssl-dev curl jq
Rust & cargo >= v1.51
We recommend using the Rust shell script installer. Installing cargo from your package manager (e.g.
apt) is not recommended as the packaged versions are usually too old.
If you really don't want to use the shell script installer, the Rust installation docs contain instructions for many platforms.
The following commands will compile binaries into the
rustup updategit clone https://github.com/nymtech/nym.gitcd nymgit reset --hard # in case you made any changes on your branchgit pull # in case you've checked it out before # Note: the default branch you clone from Github, `develop`, is guaranteed to be# broken and incompatible with the running testnet at all times. You *must*# `git checkout tags/v0.11.0` in order to join the testnet. git checkout tags/v0.11.0cargo build --release
Quite a bit of stuff gets built. The key working parts are: