---
title: "Quickstart"
description: "Run SQL Studio for the first time."
canonical_url: "https://kinfe123-sqlite-studio-docs-cloud-3tl7f4rq7-farming-labs.vercel.app/docs/quickstart"
markdown_url: "https://kinfe123-sqlite-studio-docs-cloud-3tl7f4rq7-farming-labs.vercel.app/docs/quickstart.md"
last_updated: "2018-10-20"
---

# Quickstart
URL: /docs/quickstart
LLM index: /llms.txt
Description: Run SQL Studio for the first time.

# Quickstart

SQL Studio ships with a built-in sample SQLite database so you can try the full UI without any setup. Install the binary (see [Installation](/docs/installation)), then run:

```bash
sql-studio sqlite preview
```

This launches SQL Studio against a built-in sample database and opens `http://127.0.0.1:3030` in your default browser. You'll land on the Overview page with database metadata, table counts, and row-count bar charts — no file required.

## Use Your Own Database

Point SQL Studio at a local SQLite file you already have:

```bash
sql-studio sqlite ./my-app.db
```

Or connect to a running PostgreSQL server:

```bash
sql-studio postgres postgres://localhost:5432/mydb
```

The subcommand determines the driver. Every other supported database works the same way — see [Databases](/docs/databases) for the full list and connection string formats.

## What You'll See

Once the browser opens you'll find four pages in the left sidebar:

- **Overview** — database name, version, size, and summary statistics
- **Tables** — row counts, column definitions, creation SQL, and an infinite-scroll data grid for every table
- **Query** — a Monaco-powered SQL editor with IntelliSense autocomplete backed by your live schema
- **Schema** — an interactive ERD diagram showing tables, columns, and foreign-key relationships

## Controlling the Server

By default SQL Studio binds to `127.0.0.1:3030` and opens a browser window automatically. You can change this with global flags placed *before* the subcommand:

```bash
sql-studio --address 0.0.0.0:8080 --no-browser sqlite ./my-app.db
```

See [Configuration](/docs/configuration) for the full list of options and their equivalent environment variables.

## Sitemap

See the full [sitemap](/sitemap.md) for all pages.
Docs-scoped sitemap: [/docs/sitemap.md](/docs/sitemap.md).
Well-known sitemap: [/.well-known/sitemap.md](/.well-known/sitemap.md).
