Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

CLI

Volter includes a CLI tool for scaffolding new projects.

Installation

cargo install volter-cli

Commands

volter new

Create a new Volter project:

volter new my-app
cd my-app
cargo run

This creates a minimal project structure:

my-app/
├── Cargo.toml
└── src/
    └── main.rs

With a functional “Hello, World!” server already in place.

volter run (Planned)

Starts the project with optional file-watching for hot reload. Not yet implemented.

Note

The CLI is optional. You can build Volter applications with just cargo init and adding volter to your Cargo.toml manually.