# libsql を Homebrew, MacPorts, Nix でインストール

libsql のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install libsql
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libsql
```

  証拠: 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
```

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

## パッケージ情報

- **パッケージキー:** brew:libsql
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/libsql>
- **バージョン:** 0.24.32
- **ソース概要:** Fork of SQLite that is both Open Source, and Open Contributions
- **ホームページ:** <https://turso.tech/libsql>
- **リポジトリ:** <https://github.com/tursodatabase/libsql>
- **上流ドキュメント:** <https://docs.turso.tech/libsql>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/tursodatabase/libsql/releases/download/libsql-server-v0.24.32/source.tar.gz>
- **生成日時:** 2026-07-08T07:18:31+00:00

## 実行可能ファイル

- sqld (cli)
- sqld (エイリアス)

## ビルド依存関係

- rust

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-07-08
- マネージャ版: 0.24.32
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/tursodatabase/libsql
- 情報: No package-manager update timestamp was available.
- 情報: No cached GitHub release or tag data was available.
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

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

### ソース

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


## セキュリティノート

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

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal

## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** libsql
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 他のパッケージマネージャ記録

- 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


## 関連リンク

- [Secret-risk packages](https://www.automicvault.com/ja/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/ja/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Database and data packages](https://www.automicvault.com/ja/pkg/database-data-tools/) - Matched database, SQL, migration, or data-store metadata.
- [rust](https://www.automicvault.com/ja/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [libstatgrab](https://www.automicvault.com/ja/pkg/brew/libstatgrab/) - Shares av.db curated category or tags: cli, not-completed, other.
- [libstxxl](https://www.automicvault.com/ja/pkg/brew/libstxxl/) - Shares av.db curated category or tags: cli, not-completed, other.
- [libsvm](https://www.automicvault.com/ja/pkg/brew/libsvm/) - Shares av.db curated category or tags: cli, not-completed, other.
- [libtar](https://www.automicvault.com/ja/pkg/brew/libtar/) - Shares av.db curated category or tags: cli, not-completed, other.
- [libtasn1](https://www.automicvault.com/ja/pkg/brew/libtasn1/) - Shares av.db curated category or tags: cli, not-completed, other.
- [libtecla](https://www.automicvault.com/ja/pkg/brew/libtecla/) - Shares av.db curated category or tags: cli, not-completed, other.
- [libtensorflow](https://www.automicvault.com/ja/pkg/brew/libtensorflow/) - Shares av.db curated category or tags: cli, not-completed, other.
- [libtiff](https://www.automicvault.com/ja/pkg/brew/libtiff/) - Shares av.db curated category or tags: cli, not-completed, other.

## Combined YAML source

View the package source record on GitHub. [combined/libsql.yml](https://github.com/automic-vault/db/blob/main/combined/libsql.yml)


## ソース

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