Install LastDB
Install LastDB, write your first record and read it back in under one minute.
Source reviewed 3 December 2026: 5eb6a3a63. For your installed release, run lastdb --help and lastdb --version.
Start your database
Use your login account on an Apple Silicon Mac with Homebrew on your PATH. We time the commands from install to readback on a clean Mac. See the latest runs.
brew install edgevector/lastdb/lastdb && lastdb setup --non-interactive --json
Success returns "ready": true and the running daemon version in database.build. For scripts, run the Homebrew and setup commands separately. Setup writes one JSON object to stdout and accepts closed stdin.
Write your first sample note and read it from a second Terminal. This uses your own schema and needs no catalog app.
Report an alpha problem to the LastDB maintainers. Include the command and the error with private data removed.
Choose an app by name
lastdb app list
The first column lists the names you can use. You can also find an app by its title and copy its install command. The example below installs LastSecrets, which uses Git and Bun. Check git --version and bun --version first. Substitute any other listed name to choose that app. Check the app’s prerequisites first. Selecting it accepts its install steps and runs its checks.
lastdb setup --app lastsecrets --non-interactive --json
Run lastdb app status lastsecrets --check --json to check this example independently. Use each app’s own commands to work with its data.
On failure, setup exits nonzero. Read error.stage and error.detail, resolve the cause and repeat the command. A healthy database stays available if an app fails.
Set up a managed service.
lastdb --help lastdb upgrade --help lastdb service --help
The current Homebrew formula installs the binaries and has no service block. On a fresh home, lastdb service install creates the managed LaunchAgent. It also installs the automatic node update job and the App Registry app updater. App update plans still require consent when their instructions change.
If an older Homebrew job already runs LastDB, keep it running and explicitly adopt it with its exact label; the installer does not adopt an existing job unless you pass --adopt-service LABEL.
sh install.sh --adopt-service homebrew.mxcl.lastdb
homebrew.mxcl.lastdb is a label used by an older Homebrew service. The current formula has no service label. Confirm the label from the existing job definition before adoption.
Confirm the node responds.
lastdb status socket="$HOME/.lastdb/folddb.sock" [ -S "$socket" ] || socket="$HOME/.lastdb/data/folddb.sock" curl --fail --silent --show-error --unix-socket "$socket" http://localhost/health
Health should return JSON with "status":"ok". The status and version commands report the installed release, which may differ from the reviewed source revision above.
Choose another task.
Use LastDB
Use Brain, LastSecrets, and MCP.
Upgrade
Check, update, roll back, or adopt a managed service.
Backup and recovery
Connect cloud backup and restore into a fresh home.
Node health
Check the socket and service before changing anything.