Skip to Content
dbmcp

Installation

Install dbmcp with the install script, then pick another method if you need one

is distributed as a single binary with no runtime dependencies. Choose the installation method that works best for your setup.

curl -fsSL https://dbmcp.haymon.ai/install.sh | bash

On macOS, Linux, or WSL without curl, use wget:

wget -qO- https://dbmcp.haymon.ai/install.sh | bash

This detects your platform, downloads the correct binary, and installs it. Re-run the same command to upgrade to the latest version.

To install to a custom directory:

INSTALL_DIR=/opt/bin curl -fsSL https://dbmcp.haymon.ai/install.sh | bash
$env:INSTALL_DIR = "C:\tools\dbmcp"; irm https://dbmcp.haymon.ai/install.ps1 | iex
set INSTALL_DIR=C:\tools\dbmcp && curl -fsSL https://dbmcp.haymon.ai/install.cmd -o install.cmd && install.cmd && del install.cmd

For other ways to install, see Binaries, Docker, Package Managers, and Build from source. To check a download, see Verify downloads.

Comparison

MethodEase of InstallAuto UpdatesVersion FlexibilityPrerequisitesPlatform Coverage
Quick InstallSingle commandRe-run to upgradeLatest releasecurl/wget or PowerShellmacOS, Linux, WSL, Windows
Dockerdocker pullPull latest tagAny release tagDockerLinux, macOS, Windows
Prebuilt BinarySimple downloadNoneAny releaseNoneLinux, macOS, Windows
npm / npxNo install step with npxUnpinned npx fetches the latestAny published versionNode.js 18+Linux (glibc), macOS arm64, Windows x64
Cargo InstallOne commandcargo install to updateAny published versionRust toolchainAll platforms Rust supports
Build from SourceMultiple stepsManual (git pull + rebuild)Any commit/branchGit + Rust toolchainAll platforms Rust supports

Verify downloads

Each release publishes a SHA-256 checksum for every release asset, signed build provenance attestations for the binaries, the Docker image, and the Helm chart, and a keyless cosign signature for the image and the chart.

Checksums

Each archive has a matching .sha256 file:

curl -LO https://github.com/haymon-ai/dbmcp/releases/latest/download/dbmcp-x86_64-unknown-linux-gnu.tar.gz
curl -LO https://github.com/haymon-ai/dbmcp/releases/latest/download/dbmcp-x86_64-unknown-linux-gnu.tar.gz.sha256
sha256sum -c dbmcp-x86_64-unknown-linux-gnu.tar.gz.sha256

On macOS, use shasum -a 256 -c instead of sha256sum -c. On Windows (PowerShell), download the checksum next to the dbmcp.zip from the Windows steps and compare:

Invoke-WebRequest -Uri https://github.com/haymon-ai/dbmcp/releases/latest/download/dbmcp-x86_64-pc-windows-msvc.zip.sha256 -OutFile dbmcp.zip.sha256
$expected = (Get-Content dbmcp.zip.sha256).Split(' ')[0]
(Get-FileHash dbmcp.zip -Algorithm SHA256).Hash -eq $expected

This prints True when the hashes match. PowerShell's -eq ignores case, so the uppercase hash from Get-FileHash matches the lowercase one in the file.

Build Provenance

Attestations prove an asset was built by this repository's release workflow. Verify them with the GitHub CLI:

gh attestation verify dbmcp-x86_64-unknown-linux-gnu.tar.gz --repo haymon-ai/dbmcp
gh attestation verify oci://ghcr.io/haymon-ai/dbmcp:<version> --repo haymon-ai/dbmcp
gh attestation verify oci://ghcr.io/haymon-ai/charts/dbmcp:<version> --repo haymon-ai/dbmcp

Image Signature

cosign verify ghcr.io/haymon-ai/dbmcp:<version> \
  --certificate-identity-regexp '^https://github.com/haymon-ai/dbmcp/\.github/workflows/release\.yml@refs/tags/v' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

To verify the Helm chart, use ghcr.io/haymon-ai/charts/dbmcp:<version> in the same command.

On this page