Installation

Get started with Stabilize ORM in your Bun project

Prerequisites

  • Bun 1.0 or higher installed
  • PostgreSQL, MySQL, or SQLite database
  • TypeScript project (recommended)

Install via Bun

bun add stabilize-orm

Install the CLI

The Stabilize CLI provides powerful code generation and migration tools:

bun add -d stabilize-cli

Verify Installation

Check that everything is installed correctly:

bunx stabilize-cli --version

You should see the version number of the CLI tool.

Database Drivers

Stabilize ORM works with the native Bun database drivers. No additional installation needed for:

PostgreSQLMySQLSQLite

Next Steps

Now that you have Stabilize installed, you can:

  • Configure your database connection
  • Define your first model
  • Run migrations
  • Start querying your data