Getting Started
Ready to blast through your first project? Follow this comprehensive guide to get RADS running on your system in minutes.
1. Install RADS
Copy and paste the command below into your preferred terminal. This will download and install the latest RADS environment.
User Install: To install without root, use: USE_SUDO=no RADS_PREFIX=$HOME/.local before the curl command.
2. Your First Code
Create a file named hello.rads and add the following "blast" function:
blast main() {
echo("Hello, RADS World! 🚀");
}
Run it with the command:
rads hello.rads
Platform-Specific Installation
🐧 Linux
Ubuntu, Debian, Arch, Fedora
sudo apt install build-essential
curl -fsSL ... | bash
🍎 macOS
Intel & Apple Silicon
brew install gcc
curl -fsSL ... | bash
🪟 Windows
WSL2 or MinGW
wsl --install
curl -fsSL ... | bash
🔧 Troubleshooting
Installation fails with permission error
Use the user install method: USE_SUDO=no RADS_PREFIX=$HOME/.local curl -fsSL ... | bash
Command 'rads' not found after installation
Add RADS to your PATH: export PATH="$HOME/.local/bin:$PATH" or restart your terminal.
Compilation errors on first run
Ensure you have GCC 9+ or Clang 10+ installed. Run gcc --version to check.