Skip to content

Installation Guide

Installing Nerve Framework

This guide covers the complete installation process for the Nerve Framework.

System Requirements

  • Operating System: Linux, macOS, or Windows
  • Rust: Version 1.70 or higher
  • Memory: Minimum 512MB RAM
  • Storage: 100MB free space

Installation Methods

# Add to your Cargo.toml
[dependencies]
nerve = "0.1.0"

# Or install directly
cargo add nerve

Method 2: From Source

# Clone the repository
git clone https://github.com/nerve-framework/nerve.git
cd nerve

# Build the framework
cargo build --release

# Run tests
cargo test

Verification

Verify your installation:

# Check if nerve is available
cargo run --example basic_pubsub

# Check version
cargo run --bin nerve-cli -- version

Troubleshooting

Common Issues

  1. Rust Version Too Old

    rustup update stable
    

  2. Build Dependencies Missing

    # On Ubuntu/Debian
    sudo apt install build-essential
    
    # On macOS
    xcode-select --install
    

  3. Permission Issues

    # Add current user to cargo group
    sudo usermod -a -G cargo $USER
    

Next Steps


This is a placeholder file. Full content coming soon.