macOS
brew install brightnesslocal Homebrew formula metadata
sudo port install brightnessMacPorts ports tree · sysutils/brightness/Portfile · 来源: api.github.com
安装
brew install brightnesslocal Homebrew formula metadata
sudo port install brightnessMacPorts ports tree · sysutils/brightness/Portfile · 来源: api.github.com
概览
Change macOS display brightness from the command-line
历史
brightness is a macOS command-line utility for reading and setting display brightness from scripts or the terminal.
The nriley/brightness repository was created in February 2014, with release 1.2 published in August 2015. The README describes a focused utility for controlling all internal and some external displays from the command line.
Its maintenance history mirrors macOS display API changes. The README notes that documented APIs worked through macOS 10.12.3, then Night Shift in 10.12.4 required an undocumented method, and Apple Silicon Macs later required another undocumented method.
brightness became a durable small utility for macOS automation users. It is packaged in Homebrew and MacPorts according to the input package facts, has hundreds of GitHub stars, and Homebrew analytics reported several thousand installs over the prior year at lookup time.
Users run simple commands such as `brightness 1`, `brightness 0.5`, or `brightness -l` to set or list display brightness. The README cautions that displays not controllable through macOS Displays settings generally cannot be controlled by the tool either.
brightness is the archetypal tiny macOS system utility package: a single-purpose binary that exists because shell scripts and automation tools need access to a GUI-era hardware setting. Its significance is not breadth, but longevity across changing macOS display internals.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
brightness | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/nriley/brightness
安装元数据
| 软件包键 | brew:brightness |
|---|---|
| 版本 | 1.2 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/brightness |
| 主页 | https://github.com/nriley/brightness |
| 仓库 | https://github.com/nriley/brightness |
| 上游文档 | https://github.com/nriley/brightness#readme |
| 许可证 | BSD-2-Clause |
| 源码归档 | https://github.com/nriley/brightness/archive/refs/tags/1.2.tar.gz |
| Bottle | 可用 (于 arm64_big_sur, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | brightness |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
brightness
sudo port install brightness来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.