npm package

@tacobase/cli

The taco command. Scaffold projects, run local dev servers, generate TypeScript types, and manage your tacobase instances — all from the terminal.

terminal

npm install -g @tacobase/cli

Quick start

taco login                        # Authenticate
taco init my-app --template next  # Scaffold a new project
cd my-app && npm install
taco dev --with-app               # Local instance + dev server, one command

🌮 Wrapped. You're building.

Commands

Everything you need from scaffold to production.

taco login
$ taco login

Authenticate with tacobase. Opens a browser session. Token stored in ~/.taco/config.json — sign in once, taco forever.

taco init
$ taco init my-app --template next

Scaffold a new project. Picks a framework template (Next.js, Vite, etc.) and wires up the tacobase SDK, env files, and types.

taco dev
$ taco dev --with-app

Start a local dev server with a local tacobase instance. Pass --with-app to also start your framework dev server.

taco typegen
$ taco typegen

Generate TypeScript types from your live collection schema. Types go to tacobase-types.d.ts — import and use with createClient<Types>().

taco instant
$ npx taco instant

Provision a live tacobase instance instantly — no account, no dashboard. Credentials are written to .env.local.

taco seed
$ taco seed ./seed.ts

Run a seed script against your local or remote instance to populate sample data.

taco doctor
$ taco doctor

Diagnose common configuration issues: missing env vars, SDK version mismatches, unreachable instance.

taco logs
$ taco logs --follow

Stream live logs from your tacobase instance — requests, auth events, errors.

Ready to build?

Get a live backend in one command. No account required to start.