Skip to content

Getting Started

Requirements

  • Rust (stable) — install via rustup

Install the CLI

Terminal window
cargo install oxide-cli --registry com7-innovation

See Internal Registry for one-time kellnr setup (token + cargo config) if you haven’t done it yet.

Confirm:

Terminal window
oxide --version

Create a project

  1. Scaffold

    Terminal window
    oxide new billing-api
    cd billing-api

    oxide new supports --branch <name>, --tag <version>, and --rev <sha> for pinning the framework version. Default is branch = "main".

  2. Wire environment

    Terminal window
    cp .env.example .env

    Edit .env — set DB_CONNECTION, DB credentials, and APP_LISTEN as needed.

  3. Run migrations

    Terminal window
    oxide migrate
  4. Start the server

    Terminal window
    oxide serve

    Default address is 127.0.0.1:8000. Hit http://localhost:8000/api/v1/health to confirm.

What’s next