Skip to content

Stop choosing. SurrealDB launch week, 12-16 October

See what's coming

How to install

Cloud. Fully managed, from a free tier.
Binary. One surreal binary, the same engine everywhere.
Latest. SurrealDB
v3.3.4
.

01 |INSTALL THE CLI

Choose your platform. One command installs the CLI and the server as a single executable.

macOS

Install on macOS

On macOS, run the SurrealDB install script, or install with Homebrew. Either way you get the command-line tools and the SurrealDB server as a single executable.

# Direct install
curl -sSf https://install.surrealdb.com | sh

# Homebrew
brew install surrealdb/tap/surreal
Linux

Install on Linux

The preferred way to get going on Unix systems is the SurrealDB install script. Run the following in your terminal and follow the on-screen instructions.

curl -sSf https://install.surrealdb.com | sh
Windows

Install on Windows

On Windows, install the SurrealDB command-line tool by running the following in PowerShell.

iwr https://windows.surrealdb.com -useb | iex
Docker

Install on Docker

Docker lets you run SurrealDB without installing any CLI tools locally. The container includes the full CLI for import/export and for running a server.

docker run --rm --pull always -p 8000:8000 surrealdb/surrealdb:latest start

02 |VERIFY AND RUN

Confirm the install, then start. Check the CLI is on your path and bring up a local server.

Version

Check the version

Confirms the CLI is on your path and which release it is.

surreal version
Start

Start a local server

An in-memory instance on port 8000, with a root user for the session.

surreal start --user root --pass secret memory
Persist

Persist to disk

The same server with its data kept in a SurrealKV directory.

surreal start --user root --pass secret surrealkv://data
Shell

Open a SQL shell

An interactive SurrealQL prompt against the running server.

surreal sql --endpoint http://localhost:8000 --user root --pass secret --ns test --db test

THE PLATFORM

Everything an application and its agents know. Five surfaces, one engine.

IN PRODUCTION

Trusted at scale. Samsung, Nvidia, Verizon, Tencent, and Walmart run on SurrealDB.

14,000+

Developers building on SurrealDB Cloud

4M+

Developers building on SurrealDB worldwide

FROM THE TEAMS

SurrealDB gives us a foundation where we can unify semantic search, knowledge graphs, and AI-driven decision making without stitching together multiple systems. Collapsing responsibility into SurrealDB has become our default engineering posture.
Justin Foley

VP of Engineering, Later

GET STARTED

Start building with SurrealDB. Read the docs, try it in the cloud, or start building.

SurrealDB

The context and memory layer for AI agents

Database. Graphs, vectors, documents and relational data in one engine, in a single ACID transaction.
Agent Memory. Connects and retrieves context wherever your data lives, every fact carrying its source.
Cloud. Fully managed, in the cloud provider and region you choose.

Explore with AI

Copyright © 2026 SurrealDB Ltd. Registered in England and Wales. Company no. 13615201

Registered address: 3rd Floor 1 Ashley Road, Altrincham, Cheshire, WA14 2DT, United Kingdom

Trading address: Huckletree Oxford Circus, 213 Oxford Street, London, W1D 2LG, United Kingdom