Install
The binary is miudb, a single static Go build with no runtime dependencies.
Install
Section titled “Install”| Platform | Command |
|---|---|
| macOS, Linux | curl -fsSL https://db.miu.sh/install.sh | sh |
| Windows (PowerShell) | irm https://db.miu.sh/install.ps1 | iex |
| Homebrew | brew install vanducng/tap/miudb |
| Go 1.25+ | go install github.com/vanducng/miu-db/cmd/miudb@latest |
Both scripts detect OS and architecture, verify the release checksum, and honor:
| Env | Default | Effect |
|---|---|---|
MIUDB_VERSION | latest | Install a specific tag, for example v0.10.6 |
MIUDB_INSTALL_DIR | /usr/local/bin, Windows %LOCALAPPDATA%\miudb\bin | Target directory. On Unix, uses sudo when it is not writable, else falls back to ~/.local/bin |
With go install, put $(go env GOPATH)/bin on PATH.
Windows zips (miudb_windows_x86_64.zip, miudb_windows_arm64.zip) are also on
GitHub Releases:
$version = "v0.10.6"$asset = "miudb_windows_x86_64.zip"Invoke-WebRequest "https://github.com/vanducng/miu-db/releases/download/$version/$asset" -OutFile $assetExpand-Archive $asset -DestinationPath ".\miudb" -Force.\miudb\miudb.exe versionVerify
Section titled “Verify”miudb versionmiudb commandsUpgrade
Section titled “Upgrade”miudb upgrade # latest release, checksum verified, replaces the binarymiudb upgrade --check # only report whether a newer version existsmiudb upgrade --version v0.10.6 # a specific tagHomebrew installs refuse self-upgrade; use brew upgrade miudb.
Agent skill
Section titled “Agent skill”curl -fsSL https://db.miu.sh/skill.md --create-dirs \ -o ~/.claude/skills/miudb/SKILL.mdUse ~/.agents/skills/miudb/SKILL.md for Codex, Cursor, and other agents. The
same file lives in the repo at .agents/skills/miudb/SKILL.md.
From a checkout
Section titled “From a checkout”go build -buildvcs=false -o ./.miu-db/miudb ./cmd/miudb./.miu-db/miudb version-buildvcs=false avoids VCS stamping failures in git worktrees.