# 使用 Homebrew, apk, chocolatey, MacPorts, Nix, pacman, scoop, winget 安装 dolt

查看 dolt 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:dolt
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install dolt
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install dolt
```

  证据: MacPorts ports tree: devel/dolt/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add dolt
```

  证据: Alpine Linux edge package indexes: dolt from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#dolt
```

  证据: nixpkgs package indexes: pkgs/by-name/do/dolt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S dolt
```

  证据: Arch Linux sync databases: dolt from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- Chocolatey (92%):

```sh
choco install dolt
```

  证据: Chocolatey community package catalog: dolt from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','dispcalgui.install'

- Scoop (92%):

```sh
scoop install main/dolt
```

  证据: Scoop official bucket manifest trees: bucket/dolt.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id DoltHub.Dolt -e
```

  证据: Windows Package Manager source index: DoltHub.Dolt from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:dolt
- **软件包管理器:** Homebrew
- **版本:** 2.2.3
- **来源摘要:** Git for Data
- **主页:** <https://www.dolthub.com>
- **仓库:** <https://github.com/dolthub/dolt>
- **最后更新:** 2026-07-30T03:56:04Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- dolt (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.2.3
## 项目历史与用法

Dolt is a version-controlled SQL database: it gives tables Git-like clone, branch, diff, merge, push, and pull workflows while exposing a MySQL-compatible server and client experience.

### 项目历史

The Dolt repository was created in July 2019 and its README has long summarized the project as Git for Data. The core idea is simple and unusual: Git versions files, while Dolt versions tables.

The earliest listed GitHub release in the current release stream is v0.9.7 from August 2019. By 2026, Dolt had reached the 2.x series with frequent releases, showing a long-lived database engine rather than a one-off CLI experiment.

Dolt's project surface expanded into a broader DoltHub ecosystem. The README points to DoltHub for sharing public databases, DoltLab for self-hosting a DoltHub-like service, Hosted Dolt for managed servers, and Doltgres as the related Postgres-flavored project.

### 采用历史

Dolt is packaged unusually widely for a database engine with version-control semantics. The official README documents direct release installs, Homebrew, Arch Linux official repositories, MacPorts, Windows installers, Chocolatey, Docker images, and source builds; the package metadata also lists additional package managers such as Nix, Scoop, Winget, and apk.

Its adoption story is tied to a specific audience: data engineers, analysts, and application developers who want data changes to have branch, diff, blame, merge, and remote workflows instead of living only inside dumps, migrations, or opaque database snapshots.

### 使用方式

Dolt can be used as a Git-like CLI in a data repository, a SQL query tool, or a MySQL-compatible server. The README lists familiar commands such as init, status, add, diff, commit, log, branch, checkout, merge, clone, fetch, pull, push, remote, tag, and blame alongside SQL-specific commands.

A typical workflow imports or edits tables, stages table changes, commits them, branches for experiments, merges teammate changes, and pushes or pulls from a remote. The same data can also be served to MySQL clients through dolt sql-server.

### 为什么软件包爱好者会关心

Dolt is significant because it bends two familiar package categories into one installable tool: a database binary and a Git-like version-control CLI. For package nerds, it is a rare case where the command name, storage engine, server mode, and hosted ecosystem all revolve around one data-versioning model.

It also demonstrates a modern database project that treats command-line ergonomics as central. Installing dolt gives users both a database server and a VCS-shaped toolbox, which is why it shows up across OS package managers rather than only as a server image.

### 时间线

- 2019: Dolt repository created and v0.9.7 released.
- 2020: Dolt continued frequent 0.x releases while maturing the database format and CLI.
- 2024: README points users to published use cases and a broader DoltHub ecosystem.
- 2026: v2.1.10 released, with active development continuing in late June.

### Related projects

- Dolt is closely related to DoltHub, DoltLab, Hosted Dolt, and Doltgres. Conceptually it also sits between Git, MySQL-compatible databases, data version-control systems, and hosted dataset-sharing platforms.

### 来源

- <https://github.com/dolthub/dolt#readme>
- <https://api.github.com/repos/dolthub/dolt>
- <https://github.com/dolthub/dolt/releases/tag/v0.9.7>
- <https://github.com/dolthub/dolt/releases/tag/v2.1.10>


## 安全说明

formula declares a Homebrew service.

- **Geiger 风险:** orange / 中
- formula declares a Homebrew service


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.dolt/config_global.json, .dolt/config.json

## Credential files

- Unix: ~/.dolt/creds/*.jwk
## 其他软件包管理器记录

- Nix - dolt: normalized package name match | nixpkgs package indexes: pkgs/by-name/do/dolt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - dolt - 2.2.2-r0: normalized package name match | Alpine Linux edge package indexes: dolt from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Dolt – It's Git for Data | https://www.dolthub.com
- pacman - dolt - 1:2.2.3-1: normalized package name match | Arch Linux sync databases: dolt from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Git for data! A version controlled relational database | https://www.dolthub.com
- MacPorts - dolt: normalized package name match | MacPorts ports tree: devel/dolt/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - dolt: normalized package name match | Chocolatey community package catalog: dolt from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','dispcalgui.install'
- Scoop - main/dolt: normalized package name match | Scoop official bucket manifest trees: bucket/dolt.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - DoltHub.Dolt: normalized package name match | Windows Package Manager source index: DoltHub.Dolt from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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


## 来源

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