Quick install (recommended)
On Mac and Linux, run this single command to install Arcium:- 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 confidential computations in the Arcium Network)
Prerequisites
Before running the installation script, make sure you have these dependencies installed:- Rust: Install from the official Rust installation guide
- Solana CLI 3.1.10: Install from the Solana CLI installation guide, then run
solana-keygen new - Yarn: Install from the Yarn getting started guide
- Anchor 1.0.2: Install from the Anchor installation guide
- Docker & Docker Compose: Install Docker and Docker Compose
Manual installation
If you prefer to install manually, you can still use the traditional method. See the arcup version manager for details on managing tooling versions. Installarcup. We currently publish pre-built targets for x86 Linux and Apple Silicon. We do not support Windows at the moment.
x86_64_linuxaarch64_macos
<YOUR_TARGET> with the target you want to install, and running the following command:
arcup:
Shell completions
Generate tab-completion scripts for your shell: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).
What’s next?
Hello World
Build your first confidential instruction end-to-end.
Core Concepts
Understand the Arcium architecture before building.