# 使用 Homebrew, winget 安装 mdz

查看 mdz 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:mdz
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mdz
```

  证据: local Homebrew formula metadata

### Windows

- winget (92%):

```sh
winget install --id MDZip.Cli -e
```

  证据: Windows Package Manager source index: MDZip.Cli from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:mdz
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/mdz>
- **版本:** 3.4.8
- **来源摘要:** CLI for the mdz ledger Open Source
- **主页:** <https://github.com/LerianStudio/midaz>
- **仓库:** <https://github.com/LerianStudio/midaz>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/LerianStudio/midaz/archive/refs/tags/v3.4.8.tar.gz>
- **最后更新:** 2026-07-29T17:04:52+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- mdz (cli)
- mdz (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 3.4.8
- 管理器更新时间: 2026-07-29
- 本地数据: OK
- 上游仓库: https://github.com/LerianStudio/midaz
- 检测到的最新版本: v3.4.8 (当前)
## 项目历史与用法

mdz is the command-line interface for Lerian Midaz, a source-available ledger platform for financial infrastructure. The official CLI documentation describes it as a tool for interacting with Midaz services and APIs from the shell.

### 项目历史

Midaz is documented as a cloud-native ledger system centered on organizations, ledgers, assets, accounts, transactions, and balances. Its README describes a modular architecture with onboarding and transaction services, PostgreSQL and MongoDB storage, RabbitMQ eventing, OpenAPI documentation, and double-entry accounting for complex n:n transactions.

The Midaz CLI documentation labels the CLI as under development, but already describes single-line commands, interactive mode, help mode, and `mdz configure` for client IDs, client secrets, and service URLs. The upstream changelog and release page show an active 3.7.x release stream in 2026.

### 采用历史

The official getting-started guide positions Midaz for local developer evaluation on macOS and Linux using Go, Docker, Docker Compose, Make, and Git, then walks through a complete ledger workflow. The Homebrew input facts expose the CLI as the `mdz` package, giving package-manager users a direct entry point into the platform.

### 使用方式

The core usage path is to run Midaz locally, create an organization, ledger, asset, source and destination accounts, submit a balanced transaction, and verify the balance. The CLI usage modes support direct commands, interactive prompting for required fields, and `--help` or `-h` on commands and subcommands.

### 为什么软件包爱好者会关心

For package history, mdz is notable because it packages a finance-ledger developer workflow as a CLI rather than just a server stack. That makes an otherwise multi-service accounting platform approachable from Homebrew and shell automation.

### 时间线

- 2026: Official docs describe Midaz CLI as under development with configure, help, single-line, and interactive modes.
- 2026: The official GitHub releases page shows the v3.7.x release stream, including v3.7.8 in June.

### Related projects

- Midaz Core, Midaz Console, Midaz SDK for Go, Midaz SDK for TypeScript, Midaz plugins, Lerian MCP.

### 来源

- <https://docs.lerian.studio/en/midaz/midaz-getting-started>
- <https://docs.lerian.studio/en/v2/about-midaz-cli>
- <https://github.com/LerianStudio/midaz>
- <https://github.com/LerianStudio/midaz/releases>
- <https://raw.githubusercontent.com/LerianStudio/midaz/develop/CHANGELOG.md>
- <https://raw.githubusercontent.com/LerianStudio/midaz/develop/README.md>
- source_facts.package-manager-url


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

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

## 其他软件包管理器记录

- winget - MDZip.Cli: normalized package name match | Windows Package Manager source index: MDZip.Cli from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [ta-lib](https://pkg.so/zh-hans/brew/ta-lib/) - Shares pkgdb curated category or tags: cli, data, finance.
- [sqlite](https://pkg.so/zh-hans/brew/sqlite/) - Shares pkgdb curated category or tags: cli, data.
- [protobuf](https://pkg.so/zh-hans/brew/protobuf/) - Shares pkgdb curated category or tags: cli, data.
- [bzip2](https://pkg.so/zh-hans/brew/bzip2/) - Shares pkgdb curated category or tags: cli, data.
- [redis](https://pkg.so/zh-hans/brew/redis/) - Shares pkgdb curated category or tags: cli, data.
- [gdbm](https://pkg.so/zh-hans/brew/gdbm/) - Shares pkgdb curated category or tags: cli, data.
- [freetds](https://pkg.so/zh-hans/brew/freetds/) - Shares pkgdb curated category or tags: cli, data.
- [mysql](https://pkg.so/zh-hans/brew/mysql/) - Shares pkgdb curated category or tags: cli, data.
- [yahoo-finance2](https://pkg.so/zh-hans/npm/yahoo-finance2/) - Local metadata places this package in an adjacent workflow. Shared terms: api, cli, client, data, finance.
- [opensearch](https://pkg.so/zh-hans/brew/opensearch/) - Local package facts share a topical domain. Shared terms: api, cli, data, open, source.

## Combined YAML source

View the package source record on GitHub. [combined/mdz.yml](https://github.com/mxcl/pkgdb/blob/main/combined/mdz.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
