This guide covers installing Venus on your system.
Venus requires a Rust toolchain. The codebase uses Edition 2024, which requires a recent version of Rust.
Minimum Requirements:
- Rust 1.85+ (for Edition 2024 support)
- Cargo (comes with Rust)
- Operating System: Linux, macOS, or Windows
If you don't have Rust installed, get it from rustup.rs:
Linux / macOS:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shWindows: Download and run rustup-init.exe
After installation, restart your terminal and verify:
rustc --version
cargo --versioncargo install venusThis compiles and installs the venus and venus-worker binaries to ~/.cargo/bin/.
Verify installation:
venus --versionVenus is designed for local development, testing, and learning environments.
Venus executes arbitrary Rust code with full system access - no sandboxing or isolation. Only run notebooks you trust.
- ✅ Safe for: Your own code on your own machine
- ❌ Not safe for: Production, shared servers, untrusted code
For deployment and cloud usage, see SECURITY.md and Deployment Guide.
Venus can use Cranelift for faster compilation during development. This is completely optional - Venus works fine without it using the standard LLVM backend.
Cranelift provides significantly faster compile times (<1 second vs several seconds), making the interactive notebook experience smoother.
To install Cranelift:
rustup component add rustc-codegen-cranelift-previewVenus automatically detects and uses Cranelift if available. No configuration needed.
Create and run your first notebook:
venus new hello
venus run hello.rsOr start the interactive web server:
venus serve hello.rsThen open http://localhost:8080 in your browser.
Restart your terminal after installing Rust, or manually add Cargo's bin directory to PATH:
# Linux/macOS
export PATH="$HOME/.cargo/bin:$PATH"Update Rust to the latest version:
rustup updateIf cargo install venus fails:
- Update Rust:
rustup update - Check you have enough memory (at least 2GB RAM)
- Try with fewer parallel jobs:
cargo install venus -j 2
Venus works on both MSVC and GNU toolchains. MSVC is recommended:
- Install Visual Studio Build Tools or Visual Studio with C++ tools
- Then install Rust via rustup-init.exe
No special requirements. Works on all major distributions.
Works on both Intel and Apple Silicon (M1/M2/M3) natively.
To update Venus to the latest version:
cargo install venus --force- Getting Started - Create your first notebook
- CLI Reference - All Venus commands
- Troubleshooting - Common issues