Installation
Install Miblo for Rust API development on Windows, macOS or Linux. Rust, Cargo and rustfmt are required.
On this page
Prepare your environment
Install Rust 1.88 or later, Cargo and rustfmt through rustup. The formatter is used when generating and merging Rust code.
rustup update stable
rustup component add rustfmt
rustc --version
cargo --version| System | Native build tools |
|---|---|
| macOS | Command Line Tools: xcode-select --install |
| Linux | A C/C++ compiler and linker, such as build-essential on Debian/Ubuntu. |
| Windows | Visual Studio Build Tools with “Desktop development with C++”, and the Rust MSVC toolchain. |
SQLite needs no database server. Python, Docker and sqlx-cli are not required to use Miblo.
Install
cargo install miblo --version 0.9.1 --locked
miblo --versionThis command installs or updates Miblo to the documented version. The first compilation can take several minutes. --locked keeps the tested dependency versions.
Install from a local checkout
cargo install --path . --lockedLaunch Miblo
mibloThis opens the terminal workspace in English by default. Press Shift+L to choose English or Français; your choice is saved. A project is opened automatically when the current directory contains miblo.yaml.
miblo ui --project path/to/my-apiWithout an interactive terminal, bare miblo prints help. CLI subcommands are available for scripts.
Prebuilt binaries
Download a prebuilt Miblo 0.9.1 beta for your system:
- Windows x64 · SHA-256
- macOS Apple Silicon · SHA-256
- macOS Intel · SHA-256
- Linux x64 (glibc 2.35+) · SHA-256
Extract the archive and place miblo (or miblo.exe) in a directory on your PATH. On macOS/Linux, preserve its executable permission. Then run miblo --version in a terminal.
Rust, Cargo, rustfmt and native build tools are still required to compile generated APIs. These beta binaries are unsigned and not notarized; installation with Cargo builds Miblo from source.
Release notes and all archives. Templates are downloaded automatically on first use.
Command not found
Open a new terminal and check that Cargo’s binary directory is in your PATH: usually ~/.cargo/bin on Unix or %USERPROFILE%\.cargo\bin on Windows.
If linking fails, check your system’s native build tools. See troubleshooting for other errors.