Quickstart
The one-liner
Section titled “The one-liner”curl -fsSL https://install.deepsql.ai/install.sh | bashThat’s the whole install. Read on for what it does, what you need first, and how it ends.
Before you run it
Section titled “Before you run it”Make sure the host meets the prerequisites. The short version:
- Linux (x86_64 or arm64) or macOS
- Docker and Docker Compose installed and running
- A coding agent installed on the host — Claude Code, Codex, or Cursor CLI — so the installer can wire up DeepSQL’s MCP server for it
- ~8 GB free RAM, ~50 GB free disk
- Outbound HTTPS to
install.deepsql.ai,ghcr.io,github.com, andregistry.npmjs.org
The installer auto-installs curl, tar, and openssl via your OS package manager if any are missing — dnf on AL2023/RHEL/Fedora, apt-get on Ubuntu/Debian, apk on Alpine, pacman on Arch, zypper on openSUSE, brew on macOS. You may be prompted for your sudo password.
Run it
Section titled “Run it”-
Run the install command.
Terminal window curl -fsSL https://install.deepsql.ai/install.sh | bash -
Set an admin email and password when prompted (12+ characters).
The Azure OpenAI key and endpoint are bundled — no prompts there.
-
Wait ~2 minutes while Docker pulls images and the stack starts.
Postgres, Valkey, backend, and frontend come up in that order. You’ll see health checks succeed for each.
-
Pick which coding agents to configure when asked (Claude Code, Codex, Cursor, all, or skip).
The installer runs
deepsql mcp config --install --for <agent> --forcefor each one you pick. -
Open the UI at the printed URL.
Frontend http://localhost:3035Backend http://localhost:9085/api
Running headless (no TTY)
Section titled “Running headless (no TTY)”If you’re piping into a CI job or UserData script, set the admin credentials as environment variables so the installer doesn’t prompt:
export DEEPSQL_INITIAL_ADMIN_EMAIL='admin@yourcompany.com'export DEEPSQL_INITIAL_ADMIN_PASSWORD='change-me-please-12chars'export DEEPSQL_INSTALL_DOCKER=true # auto-install Docker on Linux without promptingcurl -fsSL https://install.deepsql.ai/install.sh | bashSee environment variables for the full list.
Accessing the UI from your laptop
Section titled “Accessing the UI from your laptop”If you installed on a remote box with no public IP (e.g. the CloudFormation deploy), forward the frontend port over SSM:
aws ssm start-session \ --region <region> \ --target <instance-id> \ --document-name AWS-StartPortForwardingSession \ --parameters portNumber=3035,localPortNumber=3035Then open http://localhost:3035 on your laptop.
What’s next
Section titled “What’s next”- What
install.shdoes — every step explained - CloudFormation — one-click EC2 + IAM + SSM
- Troubleshooting — common install failures