# Install osx-cpu-temp with Homebrew, Nix

Outputs current CPU temperature for OSX. Version 1.1.0 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:osx-cpu-temp
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install osx-cpu-temp
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#osx-cpu-temp
```

  Evidence: nixpkgs package indexes: pkgs/by-name/os/osx-cpu-temp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:osx-cpu-temp
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/osx-cpu-temp>
- **Version:** 1.1.0
- **Source summary:** Outputs current CPU temperature for OSX
- **Homepage:** <https://github.com/lavoiesl/osx-cpu-temp>
- **Repository:** <https://github.com/lavoiesl/osx-cpu-temp>
- **Upstream docs:** <https://github.com/lavoiesl/osx-cpu-temp#readme>
- **License:** GPL-2.0-or-later
- **Source archive:** <https://github.com/lavoiesl/osx-cpu-temp/archive/refs/tags/1.1.0.tar.gz>
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- osx-cpu-temp (cli)
- osx-cpu-temp (alias)

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_big_sur, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.1.0
- Local data: ok
- Upstream repository: https://github.com/lavoiesl/osx-cpu-temp
- Upstream latest detected: 1.1.0 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 2012-05-14: GitHub records creation of `lavoiesl/osx-cpu-temp`.
- 2016-12-21: GitHub release 1.0.0 was published.
- 2018-09-11: GitHub release 1.1.0 was published.

### Related projects

- smcFanControl and its `smc-command` are listed as inspirations in the README.
- Other macOS SMC utilities such as iSMC and smctemp occupy the same hardware-monitoring niche, but osx-cpu-temp's package identity remains the minimal one-command temperature reader.

### Sources

- <https://api.github.com/repos/lavoiesl/osx-cpu-temp>
- <https://api.github.com/repos/lavoiesl/osx-cpu-temp/releases>
- <https://formulae.brew.sh/formula/osx-cpu-temp>
- <https://github.com/lavoiesl/osx-cpu-temp>
- <https://raw.githubusercontent.com/lavoiesl/osx-cpu-temp/master/README.md>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** osx-cpu-temp
- **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

## Other Package-Manager Records

- Nix - osx-cpu-temp: normalized package name match | nixpkgs package indexes: pkgs/by-name/os/osx-cpu-temp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [bpytop](https://www.automicvault.com/pkg/brew/bpytop/) - Popular package that depends on this formula.
- [devcockpit](https://www.automicvault.com/pkg/brew/devcockpit/) - Shares av.db curated category or tags: cli, macos, monitoring, system.
- [asitop](https://www.automicvault.com/pkg/brew/asitop/) - Shares av.db curated category or tags: cli, macos, monitoring, system.
- [dark-mode](https://www.automicvault.com/pkg/brew/dark-mode/) - Shares av.db curated category or tags: cli, macos, system.
- [defaultbrowser](https://www.automicvault.com/pkg/brew/defaultbrowser/) - Shares av.db curated category or tags: cli, macos, system.
- [fileicon](https://www.automicvault.com/pkg/brew/fileicon/) - Shares av.db curated category or tags: cli, macos, system.
- [framework-tool-tui](https://www.automicvault.com/pkg/brew/framework-tool-tui/) - Shares av.db curated category or tags: cli, hardware-monitoring, monitoring, system.
- [infat](https://www.automicvault.com/pkg/brew/infat/) - Shares av.db curated category or tags: cli, macos, system.
- [launch](https://www.automicvault.com/pkg/brew/launch/) - Shares av.db curated category or tags: cli, macos, system.
- [lm-sensors](https://www.automicvault.com/pkg/brew/lm-sensors/) - Local package facts share a topical domain. Shared terms: cli, hardware, hardware-monitoring, monitoring, system.

## Combined YAML source

View the package source record on GitHub. [combined/osx-cpu-temp.yml](https://github.com/automic-vault/db/blob/main/combined/osx-cpu-temp.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
