# Installer libsql avec Homebrew, MacPorts, Nix

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de libsql pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:libsql
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install libsql
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libsql
```

  Preuve: MacPorts ports tree: databases/libsql/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#sqld
```

  Preuve: nixpkgs package indexes: pkgs/by-name/sq/sqld/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Faits du paquet

- **Clé du paquet:** brew:libsql
- **Gestionnaire de paquets:** Homebrew
- **Version:** 0.24.32
- **Résumé source:** Fork of SQLite that is both Open Source, and Open Contributions
- **Page d'accueil:** <https://turso.tech/libsql>
- **Dépôt:** <https://github.com/tursodatabase/libsql>
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- sqld (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 0.24.32
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

- 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.

### Sources

- <https://api.github.com/repos/tursodatabase/libsql/releases?per_page=100>
- <https://docs.turso.tech/libsql>
- <https://github.com/tursodatabase/libsql>
- <https://turso.tech/blog/we-will-rewrite-sqlite-and-we-are-going-all-in>
- <https://turso.tech/blog/were-bringing-libsql-into-the-turso-family-8cc1a653448e>
- <https://www.sqlite.org/copyright.html>


## Notes de sécurité

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

- **Risque Geiger:** blue / moyen
- broad file, network, media, or database tool signal

## Autres enregistrements de gestionnaires de paquets

- MacPorts - libsql: normalized package name match | MacPorts ports tree: databases/libsql/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Nix - sqld: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/sq/sqld/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/libsql.yml](https://github.com/mxcl/pkgdb/blob/main/combined/libsql.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
