# 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
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/db-vcs>
- **バージョン:** 1.1
- **ソース概要:** Version control for MySQL databases
- **ホームページ:** <https://github.com/infostreams/db>
- **リポジトリ:** <https://github.com/infostreams/db>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/infostreams/db/archive/refs/tags/1.1.tar.gz>
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

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

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 all

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 1.1
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/infostreams/db
- 検出された最新: 1.1 (最新)
- 情報: No package-manager update timestamp was available.
## プロジェクトの歴史と使われ方

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

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

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

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

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


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/ja/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [libgit2](https://pkg.so/ja/brew/libgit2/) - Shares pkgdb curated category or tags: cli, developer-tools, version-control.
- [lazygit](https://pkg.so/ja/brew/lazygit/) - Shares pkgdb curated category or tags: cli, developer-tools, version-control.
- [mercurial](https://pkg.so/ja/brew/mercurial/) - Shares pkgdb curated category or tags: cli, developer-tools, version-control.
- [repo](https://pkg.so/ja/brew/repo/) - Shares pkgdb curated category or tags: cli, developer-tools, version-control.
- [lazyjj](https://pkg.so/ja/brew/lazyjj/) - Shares pkgdb curated category or tags: cli, developer-tools, version-control.
- [breezy](https://pkg.so/ja/brew/breezy/) - Shares pkgdb curated category or tags: cli, developer-tools, version-control.
- [cvs](https://pkg.so/ja/brew/cvs/) - Shares pkgdb curated category or tags: cli, developer-tools, version-control.
- [codeberg-cli](https://pkg.so/ja/brew/codeberg-cli/) - Shares pkgdb curated category or tags: cli, developer-tools, version-control.
- [skuba](https://pkg.so/ja/npm/skuba/) - Local package facts share a topical domain. Shared terms: cli, control, developer, developer-tools, schema.
- [truffle](https://pkg.so/ja/npm/truffle/) - Local package facts share a topical domain. Shared terms: cli, control, db, developer, developer-tools.
- [dura](https://pkg.so/ja/brew/dura/) - Local package facts share a topical domain. Shared terms: cli, control, developer, developer-tools, version.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
