# 使用 Homebrew, MacPorts, Nix 安装 m1ddc

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

## 安装

```sh
sudo av install brew:m1ddc
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install m1ddc
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install m1ddc
```

  证据: MacPorts ports tree: sysutils/m1ddc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#m1ddc
```

  证据: nixpkgs package indexes: pkgs/by-name/m1/m1ddc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:m1ddc
- **软件包管理器:** Homebrew
- **版本:** 1.2.0
- **来源摘要:** Control external displays (USB-C/DisplayPort Alt Mode) using DDC/CI on M1 Macs
- **主页:** <https://github.com/waydabber/m1ddc>
- **仓库:** <https://github.com/waydabber/m1ddc>
- **最后更新:** 2026-05-12T09:42:19+01:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- m1ddc (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.2.0
## 项目历史与用法

m1ddc is a small command-line utility for controlling external displays over DDC/CI on Apple Silicon Macs connected through USB-C or DisplayPort Alt Mode.

### 项目历史

The project was created in 2021 by the developer behind BetterDisplay-era Mac display tools. Its README positions it as a small scriptable utility and points users who need a more advanced CLI to BetterDisplay.

Upstream releases were explicitly framed around Homebrew distribution. Version 1.0.0 was the initial Homebrew-oriented release in January 2023; later releases added M2 support, community improvements, and enhanced display identification.

### 采用历史

m1ddc filled a narrow but real gap for early Apple Silicon users: external monitor brightness, contrast, volume, input, and PIP/PBP controls were useful from scripts even when GUI display tools were heavier than needed.

The repository has hundreds of stars and dozens of forks, and the supplied package facts show Homebrew, MacPorts, and Nix packaging.

### 使用方式

Users build it with `make` or install it through a package manager, then run `m1ddc [options]`. The README documents examples such as setting contrast, reading luminance, changing volume, listing displays, and selecting displays by number or UUID.

The README warns that the tool does not support Intel Macs or the built-in HDMI port of M1 and entry-level M2 Macs, so package users need hardware-specific expectations.

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

m1ddc is package-nerd interesting because it is a small native Mac hardware-control binary whose value comes from making a platform quirk scriptable rather than from broad cross-platform scope.

The formula is also a good example of packaging a niche Apple Silicon command-line tool before the functionality is fully absorbed into larger display-management applications.

### 时间线

- 2021: Public GitHub repository created
- 2023: v1.0.0 initial Homebrew distribution release
- 2023: v1.1.0 added community improvements and M2 support
- 2024: v1.2.0 added enhanced display identification support

### Related projects

- BetterDisplay is the upstream-recommended advanced alternative for broader Mac DDC control.
- Homebrew, MacPorts, and Nix package m1ddc according to the supplied package-manager facts.

### 来源

- <https://api.github.com/repos/waydabber/m1ddc>
- <https://github.com/waydabber/m1ddc>
- <https://github.com/waydabber/m1ddc/releases>
- source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Nix - m1ddc: normalized package name match | nixpkgs package indexes: pkgs/by-name/m1/m1ddc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - m1ddc: normalized package name match | MacPorts ports tree: sysutils/m1ddc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
