The Nym release page at https://github.com/nymtech/nym/releases has pre-built binaries for some components. These are not guaranteed to work on all systems.
Later, when we’re focused more on things like packaging, we will ensure that all components get built for all operating systems.
If the pre-built binaries don’t work or are unavailable for your system, you will need to build the platform yourself.
Nym is relatively simple to build and run on Mac OS X and Linux.
We also have initial Windows support, but it should be considered experimental and unsupported for now. Windows currently works fine if you’re a Peap developer but isn’t recommended for running nodes.
sudo apt install pkg-config build-essential libssl-dev.
cargo. Stable works.
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 if the shell script is not for you.
To download and build:
git clone https://github.com/nymtech/nym.git cd nym git pull # in case you've checked it out before git checkout tags/v0.7.0 # <-- **VERY IMPORTANT** cargo build --release
Upgrade note: If you are upgrading to 0.7.0 from an earlier release, you will need to re-initialize your mixnode, as the config file formats have changed significantly between releases.
Note: the default branch you’ll clone from Github,
develop, is guaranteed to be broken and incompatible with the running testnet at all times. You must
git checkout tags/v0.7.0 in order to join the testnet.
The above commands will compile into the
Quite a bit of stuff gets built, but you can ignore most of it. The key working parts are:
You can try some of them out quickly by following along in the next few sections.
If you run into trouble, please ask for help in the channel nymtech.friends#general on KeyBase.