# 使用 Homebrew, MacPorts 安装 ddcctl

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

## 安装

```sh
sudo av install brew:ddcctl
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ddcctl
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ddcctl
```

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

## 软件包事实

- **软件包键:** brew:ddcctl
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/ddcctl>
- **版本:** 1
- **来源摘要:** DDC monitor controls (brightness) for Mac OSX command-line
- **主页:** <https://github.com/kfix/ddcctl>
- **仓库:** <https://github.com/kfix/ddcctl>
- **许可证:** GPL-3.0-only
- **源码归档:** <https://github.com/kfix/ddcctl/archive/refs/tags/v1.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- ddcctl (cli)
- ddcctl (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1
- 本地数据: OK
- 上游仓库: https://github.com/kfix/ddcctl
- 信息: No package-manager update timestamp was available.
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

ddcctl is a macOS command-line utility for sending DDC monitor control commands, mainly brightness and contrast, to external displays. The README describes it as a personal GPLv3 utility in maintenance mode rather than a broad support forum.

### 项目历史

The GitHub repository was created in August 2014. Its README says ddcctl.m sprang from a TonyMac-x86 forum thread and that DDC.c originated from jontaylor/DDC-CI-Tools-for-OS-X before being reworked by others.

### 采用历史

ddcctl found a durable packaging niche because macOS users with external monitors often wanted scriptable brightness and input control. The README documents Homebrew installation first, followed by release binaries and building from source.

### 使用方式

Users run ddcctl from the shell to adjust display controls such as brightness, contrast, input source, volume, RGB values, and presets when the monitor firmware supports them. The README also points to an example script for controlling two monitors from a Mac mini.

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

For package nerds, ddcctl is the kind of hardware-adjacent CLI that earns a formula because it bridges a small OS capability gap. It is tiny, platform-specific, and useful precisely because it makes display controls scriptable.

### 时间线

- 2014: GitHub repository created
- 2021: v0 release published
- 2022: v1 release published

### Related projects

- DDC-CI-Tools-for-OS-X, ddccontrol, monitorcontrol

### 来源

- <https://github.com/kfix/ddcctl>
- <https://github.com/kfix/ddcctl#readme>
- <https://github.com/kfix/ddcctl/releases/tag/v0>
- <https://github.com/kfix/ddcctl/releases/tag/v1>
- <https://api.github.com/repos/kfix/ddcctl>


## 安全说明

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:** ddcctl
- **Version Scheme:** 0
- **Revision:** 0
- **Requirements:** macos
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- MacPorts - ddcctl: normalized package name match | MacPorts ports tree: sysutils/ddcctl/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [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.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [ddcutil](https://pkg.so/zh-hans/brew/ddcutil/) - Shares pkgdb curated category or tags: brightness, cli, display-control, monitor, system.
- [displayplacer](https://pkg.so/zh-hans/brew/displayplacer/) - Shares pkgdb curated category or tags: cli, macos, monitor, system.
- [brightness](https://pkg.so/zh-hans/brew/brightness/) - Shares pkgdb curated category or tags: brightness, cli, macos, system.
- [m1ddc](https://pkg.so/zh-hans/brew/m1ddc/) - Shares pkgdb curated category or tags: cli, display-control, macos, system.
- [mole](https://pkg.so/zh-hans/brew/mole/) - Shares pkgdb curated category or tags: cli, macos, system.
- [lima](https://pkg.so/zh-hans/brew/lima/) - Shares pkgdb curated category or tags: cli, macos, system.
- [mas](https://pkg.so/zh-hans/brew/mas/) - Shares pkgdb curated category or tags: cli, macos, system.
- [terminal-notifier](https://pkg.so/zh-hans/brew/terminal-notifier/) - Shares pkgdb curated category or tags: cli, macos, system.
- [dark-mode](https://pkg.so/zh-hans/brew/dark-mode/) - Local package facts share a topical domain. Shared terms: cli, command-line, control, line, macos.

## Combined YAML source

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