Skip to content
Quick start

Install Rent

Use the CLI to create an application, generate its typed client, and manage database migrations.

Rent is available through private preview. The access instructions provide the repository URL. These commands assume it is available as RENT_GIT_URL.

Requirements

Install Rust 1.96 or newer with rustup. For PostgreSQL, MySQL, or MariaDB, you need a reachable server: an existing local installation, a container, or a hosted database all work. SQLite needs no separate server. Docker is optional.

Install the CLI

Use the same release for the CLI and your application's Rent dependencies:

cargo install --locked --git "$RENT_GIT_URL" --tag v0.8.6 rent-cli
rent --version

The Git-installed CLI pins new applications to its source revision. See what's new for the current capabilities.

You're ready to build your first app. That walkthrough takes you from a new project to saving and reading Maya's account. If you already have a project, follow Add Rent to an existing app instead. That guide also covers upgrades and checking an existing setup.