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

SMART hard drive monitoring. Version 7.5 via Homebrew; verified from local package data. Also installable with debian: sudo apt install smartmontools.

## 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-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','skaffold'

- 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
- **Version:** 7.5
- **Source summary:** SMART hard drive monitoring
- **Homepage:** <https://www.smartmontools.org/>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

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

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 7.5
## 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
## 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-8.fc45: normalized package name match | Fedora Rawhide package metadata: smartmontools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Tools for monitoring SMART capable hard disks | https://www.smartmontools.org/
- dnf - smartmontools-selinux - 7.5-8.fc45: 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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.3: normalized package name match | openSUSE Tumbleweed package metadata: smartmontools from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-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','skaffold'
- 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


## Combined YAML source

View the package source record on GitHub. [combined/smartmontools.yml](https://github.com/mxcl/pkgdb/blob/main/combined/smartmontools.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
