This is the official Homebrew tap for LastDB (formerly FoldDB), a local-first database you build your own tool stack on β one local database under all your tools, owned by you.
Repository workflow: LastGit
lastdb:///homebrew-lastdbis the source of truth for code review, CI, and merges. GitHub remains the public Homebrew tap and release-asset surface sobrew tap edgevector/lastdb, formula URLs, and browser access keep working. The public GitHubmainbranch is a mirror of LastGitmain; open change requests in LastGit, not GitHub.
Homebrew installs LastDB Mini.
brew services start lastdbrunslastdbd: the semantic daemon β schema declare/query/ mutate, app-identity, native search, and cloud sync (dormant untillastdbd connect) β served over a Unix socket at~/.lastdb/data/folddb.sock. No web UI, no ingestion, no discovery. Apps like fbrain and fkanban connect straight to the socket. The tarball ships onlylastdbandlastdbd; install LastDB Desktop for the full UI and ingestion workflows.
Renamed + consolidated: FoldDB β LastDB (rebrand, 2026-06). The old
EdgeVector/homebrew-folddbtap is archived (2026-07-05): release assets are published here, and this repo's formulas are the only maintained ones. If you still have the old tap:brew untap edgevector/folddbafter migrating (see below).
brew tap edgevector/lastdb
brew install lastdbOr in a single command:
brew install edgevector/lastdb/lastdbThe old formula still resolves for back-compat:
brew install edgevector/folddb/folddb # still works (alias of lastdb)Both install the same LastDB Mini tarball, which ships lastdb and lastdbd;
the folddb command name remains as a compatibility symlink to
lastdb. The formulas intentionally conflict because they own the same
commands; uninstall the old formula before installing the new one so lastdb
links cleanly and is not shadowed by an existing folddb keg:
brew uninstall edgevector/folddb/folddb
brew install edgevector/lastdb/lastdbbrew upgrade lastdblastdb-- tiny socket/control CLI for inspecting request ops, status, and cloud connection statelastdbd-- LastDB Mini semantic daemon served over the owner Unix socket
For back-compat, the folddb command name is also available, symlinked to
lastdb.
This tap also ships a second, separate formula: folddb-dev, the developer
node (a dev/test tool for building LastDB apps β not the end-user daemon). It
keeps the folddb-dev name until its source repo and assets are renamed:
brew install edgevector/lastdb/folddb-devBoth formulas are bot-maintained. Do not hand-edit the
version/url/sha256 lines of either β they are regenerated on the
next release of the formula's source repo. Release assets continue to be
published on GitHub because Homebrew consumers need anonymous HTTPS asset
URLs, but formula changes land through LastGit and are mirrored back to GitHub.
This tap is dual-home by design:
- GitHub
EdgeVector/homebrew-lastdbremains the public Homebrew tap, release object host, and end-user install surface. - Agent-authored repository changes route through LastGit change requests via
.last-stack/pr-venue. - GitHub
mainmust stay mirrored from LastGitmainsobrew tap edgevector/lastdband formula release asset URLs keep working for public users.
The LastGit gate for this repository is intentionally small: .lastgit/ci.sh
checks formula Ruby syntax and verifies that formula URLs still point at this
public tap's release assets.
Updated automatically on each release of the
EdgeVector/fold monorepo (which
contains lastdb_node and the full desktop app source).
- Source:
EdgeVector/foldworkflow.github/workflows/release.yml, jobbump-tap. - Trigger: push of a release tag matching
v*tofold(prereleases β tags containing-, e.g.v0.3.0-alpha, are skipped so they don't overwrite the stable formula; the workflow'sworkflow_dispatchand weekly-smoke runs never reachbump-tap). - Assets:
EdgeVector/foldis a private repo, so its release tarballs aren't publicly fetchable. The release job mirrors the minimal Apple-Silicon tarball (lastdb-aarch64-apple-darwin.tar.gz+SHA256SUMS.txt) to a public release taggedv${VERSION}on this tap repo β that's what the formula'surls point at (github.com/EdgeVector/homebrew-lastdb/releases/...). Pointing a formula at the privatefoldrelease URLs would 404 for end users. - Mechanism: the workflow regenerates the formula (version + per-platform sha256s), pushes a branch named
auto-bump/v${VERSION}, opens a LastGit CR titledbump: lastdb β v${VERSION}, and lets the LastGitci-requiredgate merge it. The mirror job then pushes the merged formula to the public GitHub tap. - Manual cadence: none. If a tap PR sits open, it's a CI/branch-protection issue on this repo, not a missing release step. Check the Actions tab on
foldfor the failingbump-tapjob. - Ops CLI floor: release
v0.22.11is the first Homebrew Mini release expected to exposelastdb ops;Formula/lastdb.rb'stest doblock now asserts the subcommand so future bumps cannot silently regress to a tarball without request-ops telemetry. - Local clones drift: the mirror job updates GitHub
mainafter LastGit merges. A long-lived local clone will go stale between releases βgit pullto catch up. End users get fresh formulas viabrew update; nobody needs to pull this repo to install.
Release shape: since
v0.21.6, the main formula is intentionally LastDB Mini: nolastdb_server, nofolddb_server, no web UI bundle, and no ingestion CLI in the Homebrew artifact.
Updated automatically on each folddb-dev-v* release of the
EdgeVector/fold monorepo (which
contains fold_dev_node as the workspace members
fold_dev_node/crates/{core,bin}). The fold_dev_node repo was archived
and folded into fold (fold#911, 2026-06-20); its release pipeline now
lives in the monorepo on its own folddb-dev-v* tag line, separate from
fold's v* tags that ship folddb/lastdb.
- Source:
EdgeVector/foldworkflow.github/workflows/folddb-dev-release.yml, jobbump-tapβ a sibling ofrelease.yml's job, same surgical-edit pattern (it runsscripts/release/bump-homebrew-formula-dev.rb). - Trigger: push of a release tag matching
folddb-dev-v*tofold(e.g.folddb-dev-v0.3.1). Prerelease tags (a-in the version, e.g.folddb-dev-v0.3.1-dev.1) skip the bump;workflow_dispatchis a build-only dry run that publishes nothing. - Assets: because the source repo is private, the release job first mirrors the tarballs (+
SHA256SUMS.txtanddeveloper-onboarding.md) to a public release taggedfolddb-dev-v${VERSION}on this tap repo β that's what the formula'surls point at. Thefolddb-dev-tag prefix and--latest=falsekeep these mirror releases from colliding with the mainfolddb/lastdbformula'sv*releases that share this repo. - Mechanism: the workflow regenerates
Formula/folddb-dev.rb(version + per-platform sha256s), pushes a branch namedauto-bump/folddb-dev-v${VERSION}, opens a LastGit CR titledbump: folddb-dev β v${VERSION}, and lets the LastGitci-requiredgate merge it before the public GitHub mirror updates. - Hand-edits: not safe for
version/url/sha256lines (overwritten on the next release). Structural edits (caveats, install block) are allowed β the bump is surgical and the workflow fails loudly if its diff touches anything beyond version/url/sha256 lines.