# Better Auth CLI

**Canonical:** https://apis.io/apis/better-auth/cli/  
**Provider:** Better Auth — https://apis.io/providers/better-auth/  
**Base URL:** https://github.com/better-auth/better-auth  
**Documentation:** https://www.better-auth.com/docs/cli

Better Auth CLI is one of 4 APIs that [Better Auth](https://apis.io/providers/better-auth/) publishes on the [APIs.io](https://apis.io/) network. Tagged areas include CLI and Tooling. The published artifact set on APIs.io includes API documentation.

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.

## Machine-readable artifacts (1)

- **Documentation** — https://www.better-auth.com/docs/cli

## Other Better Auth APIs (3)

- [Better Auth Library](https://apis.io/apis/better-auth/library/)
- [Better Auth Plugins](https://apis.io/apis/better-auth/plugins/)
- [Better Auth Dashboard (Managed)](https://apis.io/apis/better-auth/dashboard/)

## Tags

CLI, Tooling

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/better-auth/cli/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/better-auth/.
