Verifieddatabase0 installs

Command

Generate Types

Generate TypeScript types from Supabase schema

Command

npx supabase gen types typescript --local > src/types/database.ts

Installation

Via StackShack CLI

npx stackshack install supabase-gen-types

Manual Installation

Copy and run the command in your terminal:

npx supabase gen types typescript --local > src/types/database.ts

Prerequisites

supabase-cli

Tags

supabasetypescripttypes

Quick Actions

Stats

Installs0
Categorydatabase
Statuspublished

Need Help?

Check our documentation or reach out to the community.

Get Support

More database commands