Installation

Get Rudy Framework up and running on your development machine in just a few minutes.

Prerequisites

Before installing Rudy, ensure you have the following installed:

  • Rust 1.70.0 or later
  • Solana CLI tools 1.16.0 or later
  • A Unix-like operating system (macOS, Linux, WSL)

Installation Steps

1. Install Rust

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

2. Install Solana CLI

sh -c "$(curl -sSfL https://release.solana.com/stable/install)"

3. Install Rudy CLI

cargo install rudy-cli

4. Verify Installation

rudy --version

Platform-Specific Instructions

macOS

If you're using Homebrew, you can install the prerequisites:

brew install rust solana

Ubuntu/Debian

Install build essentials before proceeding:

sudo apt-get update && sudo apt-get install -y build-essential

Windows (WSL)

Rudy works best on Windows through WSL2. First, install WSL2, then follow the Linux instructions.

wsl --install

Next Steps

Now that you have Rudy installed, you're ready to create your first program!

Continue to Quick Start →

Troubleshooting

Error: cargo not found

Make sure Rust is installed and added to your PATH. Run: source $HOME/.cargo/env

Error: solana not found

Ensure Solana CLI is in your PATH. Add to your shell profile: export PATH="/home/youruser/.local/share/solana/install/active_release/bin:$PATH"

Installation takes too long

The first installation compiles from source. Use --locked flag for faster installation.