Better Auth CLI

Project initialization and schema-migration CLI invoked with `npx @better-auth/cli` (or `npx auth init`). Generates database schema, configures the auth route handler, and scaffolds plugin wiring.

Documentation

API entry from apis.yml

apis.yml Raw ↑
aid: better-auth:cli
name: Better Auth CLI
description: Project initialization and schema-migration CLI invoked with `npx @better-auth/cli` (or `npx
  auth init`). Generates database schema, configures the auth route handler, and scaffolds plugin wiring.
humanURL: https://www.better-auth.com/docs/cli
baseURL: https://github.com/better-auth/better-auth
tags:
- CLI
- Tooling
properties:
- type: Documentation
  url: https://www.better-auth.com/docs/cli