Quick Install (Recommended)
On Mac and Linux, run this single command to install Arcium:arcup is a tool for managing versioning of the Arcium tooling (including the CLI and Arx Node). More info on it can be found here.
This script will:
- Check for all required dependencies
- Install Linux build dependencies automatically (if needed)
- Download and install
arcupfor your platform - Install the latest Arcium CLI (command-line interface for interacting with the Arcium network and managing computations)
- Install the Arx Node (the core node software that performs encrypted computations in the network)
Prerequisites
Before running the installation script, make sure you have these dependencies installed:- Rust: Install from here
- Solana CLI 2.3.0: Install from here, then run
solana-keygen new - Yarn: Install from here
- Anchor 0.32.1: Install from here
- Docker & Docker Compose: Install Docker from here and Docker Compose from here
Manual Installation
If you prefer to install manually, you can still use the traditional method. arcup is a tool for managing versioning of the arcium tooling (including the CLI and Arx Node). More info on it can be found here. Installarcup. We currently support 4 pre-built targets, listed below. We do not support Windows at the moment.
aarch64_linuxx86_64_linuxaarch64_macosx86_64_macos
<YOUR_TARGET> with the target you want to install, and running the following command:
arcup:
Issues
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.Platform-Specific Issues
Windows Users: Arcium is not currently supported on Windows. We recommend using Windows Subsystem for Linux (WSL2) with Ubuntu for the best experience. Linux Systems: You may need additional dependencies. On Ubuntu/Debian:Incorrect $PATH
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, Rust installation tries to set it up automatically, but it might fail to do so on some platforms.
To verify that the PATH environment variable was set up correctly, run:
which arcium returns nothing, add the cargo bin directory to your PATH:
-
Bash/Zsh: Add to
~/.bashrcor~/.zshrc: -
Fish: Add to
~/.config/fish/config.fish:
source ~/.bashrc (or equivalent for your shell).