Skip to main content
Version: v0.11.0

Building Nym


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.


  • (Debian/Ubuntu) pkg-config, build-essential, libssl-dev, curl, jq
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.

Download & build Nym Mixnode, Gateway, and Clients binaries:#

The following commands will compile binaries into the nym/target/release directory:

rustup updategit clone 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:

  1. the mixnode: nym-mixnode
  2. the gateway node: nym-gateway
  3. the websocket client: nym-client
  4. the socks5 client: nym-socks5-client
  5. the network requester: nym-network-requester
Last updated on