Automic VaultAutomic Vault

brew

Install libsql with Homebrew, MacPorts, Nix

Fork of SQLite that is both Open Source, and Open Contributions. Version 0.24.32 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install libsql

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install libsql

MacPorts ports tree · databases/libsql/Portfile · source: api.github.com

Linux

Nixverified · 92%
nix profile install nixpkgs#sqld

nixpkgs package indexes · pkgs/by-name/sq/sqld/package.nix · source: api.github.com

overview

Package summary

Fork of SQLite that is both Open Source, and Open Contributions

Commands and aliases

  • sqld

history

Project history and usage

libSQL is Turso's open-source, open-contribution fork of SQLite. In package-manager terms it is interesting because it repackages the SQLite model with networked server pieces, embedded replicas, remote access, vector search, and a contribution workflow that differs from upstream SQLite.

Project history

Turso documentation describes libSQL as a production-ready fork of SQLite, created because SQLite is open-source but not open-contribution. The project README says libSQL is created and maintained by Turso.

A Turso blog post dated October 3, 2023 says the libSQL project had been announced one year earlier as a fork of SQLite. GitHub release metadata records libsql-0.1.0 on November 22, 2022, matching that origin window.

Adoption history

libSQL adoption is tied to Turso's hosted database service and SDK ecosystem. Turso's docs distinguish libSQL from Turso Database, describing libSQL as the fork that keeps SQLite's file format and API while adding features such as embedded replicas, remote access, and native vector search.

How it is used

Homebrew's libsql package exposes sqld, the server component. Developers use libSQL either as a SQLite-compatible engine with extensions or as part of Turso's remote/replicated SQLite workflow rather than as a general-purpose command-line replacement for sqlite3.

Why package nerds care

libSQL matters to package nerds because it is a high-profile fork of one of the most depended-on libraries in software. It raises practical packaging questions around SQLite compatibility, server packaging, language SDKs, migration paths, and how far a downstream fork can evolve while preserving the SQLite contract.

Timeline

  • 2022-11-22: GitHub release metadata records libsql-0.1.0.
  • 2023-10-03: Turso wrote that libSQL had been announced one year earlier and was being brought into the Turso family.
  • 2025-01-21: Turso announced a strategic move toward a ground-up SQLite rewrite while describing libSQL as the earlier fork that proved the open-contribution thesis.

Related projects

  • SQLite is the upstream database project and compatibility target.
  • Turso Cloud was built on the libSQL foundation.
  • Turso Database, formerly discussed as a rewrite path, is the same team's separate SQLite-compatible rewrite.

security posture

Risk level: blue

broad file, network, media, or database tool signal.

Risk classifier

blue risk · medium confidence · tool

Why

  • broad file, network, media, or database tool signal

Signals

  • text:sql

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 8 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
sqldcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.24.32
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/tursodatabase/libsql

install metadata

Package metadata

Package keybrew:libsql
Version0.24.32
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/libsql
Homepagehttps://turso.tech/libsql
Repositoryhttps://github.com/tursodatabase/libsql
Upstream docshttps://docs.turso.tech/libsql
LicenseMIT
Source archivehttps://github.com/tursodatabase/libsql/releases/download/libsql-server-v0.24.32/source.tar.gz
Build dependenciesrust
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelibsql
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

MacPorts95%

libsql

sudo port install libsql
  • normalized package name match
  • Matched by: Libsql
MacPorts ports tree · api.github.com · MacPorts ports tree: databases/libsql/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Nix92%

sqld

nix profile install nixpkgs#sqld
  • installed executable or alias match
  • Matched by: Sqld
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/sq/sqld/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment