Installation
Last updated
Last updated
Go to install Rust.
Go to install Solana and then run solana-keygen new
to create a keypair at the default location. Arcium uses this keypair to run your program tests.
Go to install Yarn.
Go to install Anchor.
Go to install Docker and to install Docker Compose. To test correct installation, make sure docker compose
(and not docker-compose
) is installed by running docker compose --version
.
Install arcup
. We currently support 4 pre-built targets, listed below. We do not support Windows at the moment.
aarch64_linux
x86_64_linux
aarch64_macos
x86_64_macos
You can install it by replacing <YOUR_TARGET>
with the target you want to install, and running the following command:
Install the latest version of the CLI using arcup
:
Verify the installation.
Installation might fail due to a variety of reasons. This section contains a list of the most common issues and their solutions, taken from anchor's installation guide.
On Linux systems you may need to install additional dependencies. E.g. on Ubuntu:
$PATH
To verify that the PATH
environment variable was set up correctly, run:
the output should look like (with your username):
arcup is a tool for managing versioning of the arcium tooling (including the cli and MPC node). More info on it can be found . It will require the same dependencies as building from source.
Rust binaries, including arcup
and arcium
, are installed to the ~/.cargo/bin
directory. Since this directory is required to be in the PATH
environment variable, installation tries to set it up automatically, but it might fail to do so in some platforms.