src/content/docs/drizzle-kit-studio.mdx
import CodeTab from "@mdx/CodeTab.astro"; import CodeTabs from "@mdx/CodeTabs.astro"; import Section from "@mdx/Section.astro"; import Tab from "@mdx/Tab.astro"; import Tabs from "@mdx/Tabs.astro"; import Callout from "@mdx/Callout.astro"; import Prerequisites from "@mdx/Prerequisites.astro"; import Npm from "@mdx/Npm.astro"; import Npx from "@mdx/Npx.astro";
drizzle-kit studiodrizzle-kit studio command spins up a server for Drizzle Studio hosted on local.drizzle.studio.
It requires you to specify database connection credentials via drizzle.config.ts config file.
By default it will start a Drizzle Studio server on 127.0.0.1:4983
export default defineConfig({ dialect: "postgresql", dbCredentials: { url: "postgresql://user:password@host:port/dbname" }, });
```shell
npx drizzle-kit migrate
host and portBy default Drizzle Studio server starts on 127.0.0.1:4983,
you can config host and port via CLI options
You can enable logging of every SQL statement by providing verbose flag
Safari and Brave block access to localhost by default. You need to install mkcert and generate self-signed certificate:
mkcert -installdrizzle-kit studioWhile hosted version of Drizzle Studio for local development is free forever and meant to just enrich Drizzle ecosystem, we have a B2B offering of an embeddable version of Drizzle Studio for businesses.
Drizzle Studio component - is a pre-bundled framework agnostic web component of Drizzle Studio
which you can embed into your UI React Vue Svelte VanillaJS etc.
That is an extremely powerful UI element that can elevate your offering if you provide Database as a SaaS or a data centric SaaS solutions based on SQL or for private non-customer facing in-house usage.
Database platforms using Drizzle Studio:
Data centric platforms using Drizzle Studio:
You can read a detailed overview here and if you're interested - hit us in DMs on Twitter or in Discord #drizzle-studio channel.
Drizzle Studio chrome extension lets you browse your PlanetScale, Cloudflare and Vercel Postgres serverless databases directly in their vendor admin panels!
Our hosted version Drizzle Studio is meant to be used for local development and not meant to be used on remote (VPS, etc).
If you want to deploy Drizzle Studio to your VPS - we have an alpha version of Drizzle Studio Gateway, hit us in DMs on Twitter or in Discord #drizzle-studio channel.
No. Drizzle ORM and Drizzle Kit are fully open sourced, while Studio is not.
Drizzle Studio for local development is free to use forever to enrich Drizzle ecosystem, open sourcing one would've break our ability to provide B2B offerings and monetise it, unfortunately.