Getting Started
Welcome to Rive! This guide will help you get up and running quickly.
Meet the Teamâ
Rive is developed by a passionate team of language designers and compiler engineers:
Yunitra
Rive Language Creator & Core Developer
Creator and lead developer of the Rive programming language. Designed and implemented the entire compiler architecture, type system, null safety features, and control flow constructs.
Installationâ
Prerequisitesâ
- Rust (latest stable version)
- Git
Build from Sourceâ
# Clone the repository
git clone https://github.com/rive-lang/rive
cd rive
# Build the compiler
cargo build --release
# Add to PATH (Linux/macOS)
export PATH=$PATH:$(pwd)/target/release
# Add to PATH (Windows)
# Add the target/release directory to your PATH environment variable
Your First Programâ
Create a new Rive project:
rive new hello-world
cd hello-world
This creates a simple project structure:
hello-world/
âââ src/
â âââ main.rive
âââ rive.toml
The default src/main.rive contains:
fun main() {
print("Hello, Rive!");
}
Run your program:
rive run
You should see: Hello, Rive!
Project Commandsâ
rive run- Run the projectrive build- Build the projectrive check- Check for errors without building
What's Next?â
- Basic Syntax - Learn the fundamentals
- Variables and Types - Understanding data
- Control Flow - Making decisions
Note: Rive is still in active development. Features and syntax may change between versions.