macOS
brew install osx-cpu-templocal Homebrew formula metadata
安装
brew install osx-cpu-templocal Homebrew formula metadata
nix profile install nixpkgs#osx-cpu-tempnixpkgs package indexes · pkgs/by-name/os/osx-cpu-temp/package.nix · 来源: api.github.com
概览
Outputs current CPU temperature for OSX
历史
osx-cpu-temp is a small macOS command-line utility that reads Apple SMC sensor values and prints temperatures or fan speeds. Its appeal is the Unix shape: a single executable that reports hardware telemetry in a shell-friendly format.
GitHub records `lavoiesl/osx-cpu-temp` as created on 2012-05-14. The README describes the tool as an OSX CPU temperature reporter, maintained by Sébastien Lavoie, with source lineage from Apple's System Management Control tooling and inspiration from smcFanControl and its `smc-command` code.
The project reached tagged releases 1.0.0 and 1.1.0 in the GitHub releases API. The 1.1.0-era README documents a broader set of outputs than the original package description suggests: CPU, GPU, ambient temperature, fan speeds, Celsius/Fahrenheit selection, and an option to suppress units.
The tool became a familiar small dependency for macOS users who wanted temperature readings without a full menu-bar monitor. The input metadata records Homebrew and Nix packages, and the GitHub README also documents installation through `clib`, giving it several lightweight distribution paths.
Users compile it with `make`, install it into `/usr/local/bin`, or install through a package manager, then run `osx-cpu-temp` to print a value such as `61.8 °C`. Its output format makes it easy to embed in shell prompts, status bars, scripts, and quick diagnostics.
Because it reads SMC-style hardware sensors, the useful behavior depends on Apple hardware exposing the expected keys. That hardware specificity is part of the package's identity: it is not a general cross-platform temperature library.
osx-cpu-temp is the sort of tiny native utility package that survives because it does one platform-specific job better than a generic cross-platform abstraction. For package databases, it is a good example of a CLI whose package-manager value is mostly discoverability and easy installation.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
osx-cpu-temp | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/lavoiesl/osx-cpu-temp
安装元数据
| 软件包键 | brew:osx-cpu-temp |
|---|---|
| 版本 | 1.1.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/osx-cpu-temp |
| 主页 | https://github.com/lavoiesl/osx-cpu-temp |
| 仓库 | https://github.com/lavoiesl/osx-cpu-temp |
| 上游文档 | https://github.com/lavoiesl/osx-cpu-temp#readme |
| 许可证 | GPL-2.0-or-later |
| 源码归档 | https://github.com/lavoiesl/osx-cpu-temp/archive/refs/tags/1.1.0.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 | osx-cpu-temp |
| Version Scheme | 0 |
| Revision | 0 |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
osx-cpu-temp
nix profile install nixpkgs#osx-cpu-temp来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.