# db-vcs を Homebrew, apk, Nix, pacman, zypper でインストール

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

## インストール

```sh
sudo av install brew:db-vcs
```

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

### macOS

- Homebrew (100%):

```sh
brew install db-vcs
```

  証拠: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add db
```

  証拠: Alpine Linux edge package indexes: db from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#db
```

  証拠: nixpkgs package indexes: db from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S db
```

  証拠: Arch Linux sync databases: db from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz

- zypper (92%):

```sh
sudo zypper install libdb-4_8
```

  証拠: openSUSE Tumbleweed package metadata: libdb-4_8 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:db-vcs
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.1
- **ソース概要:** Version control for MySQL databases
- **ホームページ:** <https://github.com/infostreams/db>
- **リポジトリ:** <https://github.com/infostreams/db>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- db (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.1
## プロジェクトの歴史と使われ方

db-vcs is a small command-line tool for saving, restoring, and archiving MySQL database snapshots in a project-local repository. It treats database dumps as artifacts that can be named, loaded, exported, and inspected from the shell.

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

The GitHub repository was created in April 2019 and the README frames the tool as MySQL-only for now, with extension points for other database systems left as a possibility. Its first public tags, 1.0 and 1.1, are visible in the official repository tag list.

### 採用の歴史

The upstream README documents Homebrew as the macOS installation path and direct cloning for Linux and other systems. That pattern points to a niche developer-tool audience: people who want a lightweight snapshot workflow around migrations and environment refreshes rather than a full migration framework.

### 使われ方

A typical db-vcs workflow starts with db init, which creates a .db repository in the project root and records connection details. Users then run commands such as db save, db load, db export, db import, db structure, and db log to move database dumps through development, staging, and local recovery scenarios.

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

The package is notable as a Unixy database helper: it wraps mysqldump-style operations in a project repository model, leaves credentials in a predictable ignored file, and exposes everything as simple subcommands. It appeals to package users who prefer shell tools and visible files over a service-backed database workflow.

### タイムライン

- 2019: Official GitHub repository was created.
- 2019: Tag 1.0 appears in the official repository.
- 2019: Tag 1.1 appears in the official repository.

### Related projects

- db-vcs overlaps with database migration and dump tools, but its README positions it around snapshots, restores, imports, exports, and repository-style history rather than schema-only migration management.

### ソース

- <https://github.com/infostreams/db>
- <https://raw.githubusercontent.com/infostreams/db/master/readme.md>
- <https://api.github.com/repos/infostreams/db>


## セキュリティノート

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

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

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

- Nix - db: installed executable or alias match | nixpkgs package indexes: db from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- apk - db - 5.3.28-r7: installed executable or alias match | Alpine Linux edge package indexes: db from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | The Berkeley DB embedded database system | https://www.oracle.com/technology/software/products/berkeley-db/index.html
- apk - db-c++ - 5.3.28-r7: installed executable or alias match | Alpine Linux edge package indexes: db-c++ from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | C++ binding for libdb | https://www.oracle.com/technology/software/products/berkeley-db/index.html
- apk - db-dev - 5.3.28-r7: installed executable or alias match | Alpine Linux edge package indexes: db-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | The Berkeley DB embedded database system (development files) | https://www.oracle.com/technology/software/products/berkeley-db/index.html
- apk - db-doc - 5.3.28-r7: installed executable or alias match | Alpine Linux edge package indexes: db-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | The Berkeley DB embedded database system (documentation) | https://www.oracle.com/technology/software/products/berkeley-db/index.html
- apk - db-utils - 5.3.28-r7: installed executable or alias match | Alpine Linux edge package indexes: db-utils from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Utils for The Berkeley DB embedded database system | https://www.oracle.com/technology/software/products/berkeley-db/index.html
- pacman - db - 6.2.32-4: installed executable or alias match | Arch Linux sync databases: db from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz | The Berkeley DB embedded database system | https://www.oracle.com/technology/software/products/berkeley-db/index.html
- zypper - libdb-4_8 - 4.8.30-48.3: installed executable or alias match | openSUSE Tumbleweed package metadata: libdb-4_8 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Berkeley DB Database Library Version 4.8 | https://oracle.com/technetwork/products/berkeleydb/


## Combined YAML source

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


## ソース

- 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
