# Install dbx-cli with Homebrew, Nix, scoop, winget

Command-line interface for DBX database connections, schema, and safe queries. Version 0.4.53 via Homebrew; verified 2026-08-03. Also installable with nix: nix profile install nixpkgs#dbx.

## Install

```sh
sudo av install brew:dbx-cli
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install dbx-cli
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#dbx
```

  Evidence: nixpkgs package indexes: pkgs/by-name/db/dbx/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Scoop (92%):

```sh
scoop install extras/dbx
```

  Evidence: Scoop official bucket manifest trees: bucket/dbx.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id t8y2.DBX -e
```

  Evidence: Windows Package Manager source index: t8y2.DBX from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:dbx-cli
- **Package manager:** Homebrew
- **Version:** 0.4.53
- **Source summary:** Command-line interface for DBX database connections, schema, and safe queries
- **Homepage:** <https://dbxio.com>
- **Repository:** <https://github.com/t8y2/dbx>
- **Last updated:** 2026-08-03T07:36:34Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- dbx (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.4.53
## Project history and usage

DBX CLI is the command-line companion for DBX, focused on database connections, schema inspection, safe SQL queries, and prompt-ready schema context.

### Project history

The CLI lives inside the DBX monorepo, whose README describes DBX as a lightweight cross-platform database client and manager with desktop, web, Docker, and MCP-oriented workflows.

### Adoption history

Official installation paths include npm and Homebrew, which places the CLI in normal package-manager workflows for developers who want database metadata and query output in scripts.

### How it is used

Typical CLI usage includes listing connections, describing schemas, running read-only queries, printing compact context for prompts, and opening DBX desktop views.

### Why package nerds care

Package-manager users care because DBX CLI bridges local database connection state with shell automation and AI-agent workflows while documenting stable JSON and CSV output modes.

### Timeline

- Current: DBX CLI is documented as installable through npm and Homebrew.
- Current: DBX documents MCP and Codex-oriented database workflows.

### Related projects

- DBX Desktop, DBX MCP server, database clients such as DBeaver and TablePlus.

### Sources

- <https://github.com/t8y2/dbx#readme>
- <https://github.com/t8y2/dbx/blob/main/packages/cli/README.md>


## Security Notes

No matching local secret-handling manifest was found for dbx-cli. Nucleus package metadata is still published here so future coverage has a stable package URL.



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

- Linux: $DBX_DATA_DIR/dbx.db, ~/.local/share/com.dbx.app/dbx.db
- macOS: $DBX_DATA_DIR/dbx.db, ~/Library/Application Support/com.dbx.app/dbx.db
- Windows: %DBX_DATA_DIR%\dbx.db, %APPDATA%\com.dbx.app\dbx.db

## Credential files

- Linux: $DBX_DATA_DIR/dbx.db, ~/.local/share/com.dbx.app/dbx.db
- macOS: $DBX_DATA_DIR/dbx.db, ~/Library/Application Support/com.dbx.app/dbx.db
- Windows: %DBX_DATA_DIR%\dbx.db, %APPDATA%\com.dbx.app\dbx.db
## Other Package-Manager Records

- Nix - dbx: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/db/dbx/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Scoop - extras/dbx: installed executable or alias match | Scoop official bucket manifest trees: bucket/dbx.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1
- winget - t8y2.DBX: installed executable or alias match | Windows Package Manager source index: t8y2.DBX from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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


## Sources

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