Install
Install one of the following. SmartDisk for Mac brings its own smartdisk command, so you do
not need the command line tool next to it.
curl -fsSL https://releases.smartdisk.io/install.sh | shThe installer downloads the binary for your Mac (Apple Silicon or Intel) or Linux machine
(x86-64 or ARM64) from releases.smartdisk.io and checks it before installing:
- the Ed25519 signature of
checksums.txt(the same keysmartdisk updateuses), - the binary’s SHA-256 against
checksums.txt.
It installs to /usr/local/bin, with sudo if needed, so that sudo smartdisk … finds it.
The signature check needs OpenSSL 3. Current Linux distributions have it; on macOS run
brew install openssl. The LibreSSL that comes with macOS cannot check Ed25519, so without
OpenSSL 3 the installer warns and checks only the SHA-256.
| Variable | Effect |
|---|---|
SMARTDISK_VERSION=v0.6.2 |
Install a specific version |
SMARTDISK_INSTALL_DIR=… |
Install to another directory |
SMARTDISK_REQUIRE_SIGNATURE=1 |
Refuse to install without the signature check |
brew install --formula hostatlas-app/tap/smartdiskWorks on macOS and Linux. Update with brew upgrade smartdisk.
The tap only takes a release’s checksum after its signature checks out against the release key.
Download the app from smartdisk.io/download, or install it with Homebrew:
brew install --cask hostatlas-app/tap/smartdiskThe app is signed and notarized and needs macOS 14 or later. It includes the command line tool:
SmartDisk → Install Command Line Tool… links it to /usr/local/bin/smartdisk. See
Command Line Tool.
Every release has plain binaries and a signed checksums.txt:
https://releases.smartdisk.io/latest/smartdisk-darwin-arm64https://releases.smartdisk.io/latest/smartdisk-darwin-amd64https://releases.smartdisk.io/latest/smartdisk-linux-amd64https://releases.smartdisk.io/latest/smartdisk-linux-arm64https://releases.smartdisk.io/latest/checksums.txt(andchecksums.txt.sig)
Optional helpers
Section titled “Optional helpers”list, info, test and pdf need nothing else. Two packages add to it on the Mac:
| Package | Used for |
|---|---|
| libusb | Required for smartdisk usb (SMART over USB); loaded at runtime |
| smartmontools | Model-specific attribute names from its drivedb.h; smartctl also serves as a fallback if the native query fails |
Install both with Homebrew in one step:
smartdisk installOn Linux, smartdisk install names the distribution packages instead. SmartDisk for Mac already
bundles libusb.
Root on Linux
Section titled “Root on Linux”On Linux, reading SMART needs root: sudo smartdisk. Without root the disk list still works. See
Linux for what else differs.