Installing Radium
This guide will help you install Radium on your system.
Prerequisitesβ
- Operating System: Linux, macOS, or Windows (via WSL2)
- Rust: 1.70 or later (for building from source)
- API Keys: At least one of:
- Anthropic API key (for Claude models)
- Google AI API key (for Gemini models)
- OpenAI API key (for GPT models)
Installation Methodsβ
Radium can be installed from source (recommended) or from pre-built binaries when available.
From Source (Recommended)β
This is the recommended installation method as it ensures you have the latest version:
From Pre-built Binariesβ
-
Download the latest release for your platform from GitHub Releases
-
Extract the archive:
tar -xzf radium-*.tar.gz -
Move the binary to your PATH:
sudo mv radium-*/rad /usr/local/bin/ -
Verify installation:
rad --version -
Clone the repository:
git clone https://github.com/Unicorn/Radium.git
cd RAD -
Build with Cargo:
cargo build --release -
The compiled binary will be at
./target/release/rad -
Install system-wide (recommended):
cargo install --path apps/cliThis will install the
radcommand to your Cargo bin directory (typically~/.cargo/bin/). Make sure this directory is in your PATH.
Quick Install Script (Alternative)β
If you prefer an automated installation, you can use the install script:
curl -sSf https://raw.githubusercontent.com/Unicorn/Radium/main/install.sh | sh
Note: The install script builds from source, so it requires Rust to be installed. It will:
- Clone the repository
- Build the project
- Install the
radCLI tool - Add Radium to your PATH (if not already in Cargo bin PATH)
Configurationβ
After installation, configure your API keys:
# Set your preferred AI provider API key
export ANTHROPIC_API_KEY="sk-ant-..."
# or
export GOOGLE_AI_API_KEY="..."
# or
export OPENAI_API_KEY="sk-..."
Add these to your shell profile (~/.bashrc, ~/.zshrc, etc.) to persist them.
Verify Installationβ
Run the following command to verify everything is working:
rad --version
rad auth status
You should see the Radium version and your authentication status.
Next Stepsβ
- Quick Start - Create your first agent
- Configuration - Customize Radium settings
- Core Concepts - Understand how Radium works
Troubleshootingβ
Command not foundβ
If you get "rad: command not found", ensure /usr/local/bin is in your PATH:
echo 'export PATH="/usr/local/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
Permission deniedβ
If you get permission errors, you may need to make the binary executable:
chmod +x /usr/local/bin/rad
Missing API keyβ
If you see authentication errors, ensure your API key is correctly set:
echo $ANTHROPIC_API_KEY # Should output your API key
For more help, see the CLI Troubleshooting Guide or open an issue.