# Install smartmontools with Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, scoop, winget, zypper

SMART hard drive monitoring. Version 7.5 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:smartmontools
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install smartmontools
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install smartmontools
```

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

### Linux

- apk (92%):

```sh
sudo apk add smartmontools
```

  Evidence: Alpine Linux edge package indexes: smartmontools from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install smartmontools
```

  Evidence: Debian stable package indexes: smartmontools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install smartmontools
```

  Evidence: Fedora Rawhide package metadata: smartmontools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#smartmontools
```

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

- pacman (92%):

```sh
sudo pacman -S smartmontools
```

  Evidence: Arch Linux sync databases: smartmontools from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install smartmontools
```

  Evidence: openSUSE Tumbleweed package metadata: smartmontools from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install smartmontools
```

  Evidence: Chocolatey community package catalog: smartmontools from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','shotcut'

- Scoop (92%):

```sh
scoop install main/smartmontools
```

  Evidence: Scoop official bucket manifest trees: bucket/smartmontools.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id smartmontools.smartmontools -e
```

  Evidence: Windows Package Manager source index: smartmontools.smartmontools from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:smartmontools
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/smartmontools>
- **Version:** 7.5
- **Source summary:** SMART hard drive monitoring
- **Homepage:** <https://www.smartmontools.org/>
- **Repository:** <https://github.com/smartmontools/smartmontools>
- **Upstream docs:** <https://github.com/smartmontools/smartmontools#readme>
- **License:** GPL-2.0-or-later
- **Source archive:** <https://downloads.sourceforge.net/project/smartmontools/smartmontools/7.5/smartmontools-7.5.tar.gz>
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- smartctl (cli)
- smartd (cli)
- update-smart-drivedb (cli)
- smartctl (alias)
- smartd (alias)
- update-smart-drivedb (alias)

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 7.5
- Local data: ok
- Upstream repository: https://www.smartmontools.org/
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

smartmontools is the long-running SMART disk health toolkit behind the `smartctl` and `smartd` commands. It is a standard systems package because it exposes drive diagnostics, background monitoring, and failure warnings across ATA/SATA, SCSI/SAS, NVMe, and several operating systems.

### Project history

The project README says smartmontools was originally derived from the Linux smartsuite package. Its old NEWS file shows 5.x releases already active in 2002 and 2003, with the 5.19 release in October 2003 moving the build to autoconf and automake and adding signed tarballs and RPMs.

### Adoption history

smartmontools became a cross-platform infrastructure utility rather than a single Linux tool. The README lists Linux, BSDs, Darwin/macOS, Solaris, Windows, Cygwin, OS/2, eComStation, and QNX, and the supplied package metadata records packaging across Homebrew, Debian, Ubuntu, Fedora, Arch, Nix, Scoop, Chocolatey, winget, MacPorts, and other managers.

### How it is used

`smartctl` is used interactively or in scripts to inspect drive identity, SMART attributes, logs, tests, and health status. `smartd` runs as a daemon and reads `/usr/local/etc/smartd.conf` at startup when present, giving administrators a package-managed monitoring service instead of ad hoc disk checks.

### Why package nerds care

Package maintainers care because smartmontools is hardware-facing, multi-OS, daemonized, and database-driven. It touches service files, manpage path substitution, release signing, drive database updates, and new storage protocols such as NVMe, all of which stress ordinary package recipes.

### Timeline

- 2002: 5.0-era smartmontools releases were already shipping, according to the old NEWS file.
- 2003: Release 5.19 moved the project to autoconf/automake and signed tarballs/RPMs.
- 2016: Release 6.5 added experimental NVMe support on FreeBSD, Linux, and Windows.
- 2018: Release 7.0 added experimental JSON output and more NVMe support.
- 2025: GitHub repository description says it became the official upstream repository on 2025-06-01.

### Related projects

- The README names Linux smartsuite as the original base. The modern package includes `smartctl`, `smartd`, and `update-smart-drivedb`.

### Sources

- <https://github.com/smartmontools/smartmontools README: package purpose, smartsuite derivation, supported disk protocols and operating systems.>
- <https://raw.githubusercontent.com/smartmontools/smartmontools/main/doc/old/NEWS-5.0-7.5.txt: release chronology, autoconf/automake move, NVMe and JSON additions.>
- <https://raw.githubusercontent.com/smartmontools/smartmontools/main/src/smartd.conf.5.in: `/usr/local/etc/smartd.conf` documented as the smartd configuration file.>
- input source_facts.package-manager: broad package-manager availability.


## Security Notes

narrow executable package without higher-risk signals.

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


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: /usr/local/etc/smartd.conf
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** smartmontools
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Debian apt - smartmontools - 7.4-3: normalized package name match | Debian stable package indexes: smartmontools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | control and monitor storage systems using S.M.A.R.T. | https://www.smartmontools.org/
- Nix - smartmontools: normalized package name match | nixpkgs package indexes: pkgs/by-name/sm/smartmontools/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - smartmontools - 7.4-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: smartmontools from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | control and monitor storage systems using S.M.A.R.T. | https://www.smartmontools.org/
- apk - smartmontools - 7.5-r0: normalized package name match | Alpine Linux edge package indexes: smartmontools from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Control and monitor S.M.A.R.T. enabled hard drives | https://www.smartmontools.org/
- apk - smartmontools-dbg - 7.5-r0: normalized package name match | Alpine Linux edge package indexes: smartmontools-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Control and monitor S.M.A.R.T. enabled hard drives (debug symbols) | https://www.smartmontools.org/
- apk - smartmontools-doc - 7.5-r0: normalized package name match | Alpine Linux edge package indexes: smartmontools-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Control and monitor S.M.A.R.T. enabled hard drives (documentation) | https://www.smartmontools.org/
- apk - smartmontools-openrc - 7.5-r0: normalized package name match | Alpine Linux edge package indexes: smartmontools-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Control and monitor S.M.A.R.T. enabled hard drives (OpenRC init scripts) | https://www.smartmontools.org/
- dnf - smartmontools - 7.5-6.fc44: normalized package name match | Fedora Rawhide package metadata: smartmontools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Tools for monitoring SMART capable hard disks | https://www.smartmontools.org/
- dnf - smartmontools-selinux - 7.5-6.fc44: normalized package name match | Fedora Rawhide package metadata: smartmontools-selinux from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | SELinux policies for smartmontools | https://www.smartmontools.org/
- pacman - smartmontools - 7.5-1: normalized package name match | Arch Linux sync databases: smartmontools from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Control and monitor S.M.A.R.T. enabled ATA and SCSI Hard Drives | https://www.smartmontools.org/
- zypper - smartmontools - 7.5-5.1: normalized package name match | openSUSE Tumbleweed package metadata: smartmontools from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Monitor for SMART devices | https://www.smartmontools.org/
- MacPorts - smartmontools: normalized package name match | MacPorts ports tree: sysutils/smartmontools/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - smartmontools: normalized package name match | Chocolatey community package catalog: smartmontools from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','shotcut'
- Scoop - main/smartmontools: normalized package name match | Scoop official bucket manifest trees: bucket/smartmontools.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - smartmontools.smartmontools: normalized package name match | Windows Package Manager source index: smartmontools.smartmontools from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [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.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Matched curated package taxonomy and local package facts.
- [gsmartcontrol](https://www.automicvault.com/pkg/brew/gsmartcontrol/) - Popular package that depends on this formula.
- [xnvme](https://www.automicvault.com/pkg/brew/xnvme/) - Shares av.db curated category or tags: cli, nvme, storage, system.
- [device-mapper](https://www.automicvault.com/pkg/brew/device-mapper/) - Shares av.db curated category or tags: cli, storage, system.
- [di](https://www.automicvault.com/pkg/brew/di/) - Shares av.db curated category or tags: cli, storage, system.
- [disktype](https://www.automicvault.com/pkg/brew/disktype/) - Shares av.db curated category or tags: cli, storage, system.
- [fio](https://www.automicvault.com/pkg/brew/fio/) - Shares av.db curated category or tags: cli, storage, system.
- [gdu](https://www.automicvault.com/pkg/brew/gdu/) - Shares av.db curated category or tags: cli, storage, system.
- [gptfdisk](https://www.automicvault.com/pkg/brew/gptfdisk/) - Shares av.db curated category or tags: cli, storage, system.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- 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
