Installing Nix on Linux distribution and setting up IOHK binaries
The cardano-wallet is built using the Nix package manager.
To install it on most Linux distributions, download and run the installation script.
curl https://nixos.org/nix/install > install-nix.sh
. install-nix.sh
Follow the directions and then log out and back in.
Optional: enable IOHK's binary cache
Skip this section if you prefer to build all code from IOHK locally. When the binary cache is enabled, the build steps will tend to be faster.
sudo mkdir -p /etc/nix
cat <<EOF | sudo tee /etc/nix/nix.conf
substituters = https://hydra.iohk.io https://cache.nixos.org/
trusted-substituters =
trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
EOF