Install the node and the starter apps on your Mac. You need Apple Silicon, Homebrew, and Bun on your PATH.
Last reviewed 16 November 2026 against the installed command line.
Read it first: install.sh.
curl -fsSL https://thelastdb.com/install.sh -o install.sh sh install.sh
sh install.sh --accept-install brain init
The first run installs LastDB, starts the service, prints the install plan for each starter app, and stops with RESULT: CONSENT NEEDED. That stop is expected. The second run ends with RESULT: PASS when the apps are current and healthy. RESULT: FAIL means a step failed, and the line above it says which one. Running the script again is safe.
On the first LastDB start, save any recovery phrase in a password manager. Do not put it in a chat, a source file, or a log.
The blocks have no comment lines, so they paste cleanly into zsh.
brew install edgevector/lastdb/lastdb brew services start lastdb lastdb status curl --fail --silent --show-error --unix-socket ~/.lastdb/data/folddb.sock http://localhost/health lastdb app list lastdb app install brain lastsecrets
lastdb app install brain lastsecrets --accept-install lastdb app status brain init
The first lastdb app install prints the install plan for each app and stops. Read the plan, then run the same command with --accept-install. The install runs each app’s own package step with Bun and links its commands into ~/.local/bin. Nothing edits your shell profile.
lastdb app list shows the apps proved with your LastDB release. lastdb app install brain installs the proved commit, and lastdb app upgrade brain moves an existing install to the newest proved commit. lastdb app rollback brain returns it to its previous release. If no entry is proved with your release, the install stops. Upgrade LastDB with brew upgrade lastdb, or wait for the next proved set.
brew install edgevector/lastdb/lastdb brew services start lastdb
The Homebrew package ships lastdbd, the daemon, and lastdb, the command line. It does not install a desktop app. Add apps later with lastdb app install.
lastdb --help lists the commands on your release. lastdb backup connects cloud backup and restores a database. lastdb cloud manages the paid subscription and developer keys. lastdb share and lastdb db are covered in the developer guide.
curl -s --unix-socket ~/.lastdb/data/folddb.sock \ http://localhost/health
lastdb status lastdb --version lastdbd --version
The socket is ~/.lastdb/data/folddb.sock. The file name is historical; the product is LastDB. Your data is in ~/.lastdb.
Brain for notes and decisions, LastSecrets for credentials, and MCP for agents.
The health check, the status command, and when a restart is the right step.