# Install nut with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Network UPS Tools: Support for various power devices. Version 2.8.5 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:nut
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install nut
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install nut
```

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

### Linux

- apk (92%):

```sh
sudo apk add nut
```

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

- Debian apt (92%):

```sh
sudo apt install libnutclient-dev
```

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

- dnf (92%):

```sh
sudo dnf install nut
```

  Evidence: Fedora Rawhide package metadata: nut 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#nut
```

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

- pacman (92%):

```sh
sudo pacman -S nut
```

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

- zypper (92%):

```sh
sudo zypper install libnutclient2
```

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

## Package facts

- **Package key:** brew:nut
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/nut>
- **Version:** 2.8.5
- **Source summary:** Network UPS Tools: Support for various power devices
- **Homepage:** <https://networkupstools.org/>
- **Repository:** <https://github.com/networkupstools/nut>
- **Upstream docs:** <https://networkupstools.org/documentation.html>
- **License:** GPL-2.0-or-later
- **Source archive:** <https://github.com/networkupstools/nut/releases/download/v2.8.5/nut-2.8.5.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- al175 (cli)
- apcsmart (cli)
- apcsmart-old (cli)
- apcupsd-ups (cli)
- bcmxcp (cli)
- bcmxcp_usb (cli)
- belkin (cli)
- belkinunv (cli)
- bestfcom (cli)
- bestfortress (cli)
- bestuferrups (cli)
- bestups (cli)
- bicker_ser (cli)
- blazer_ser (cli)
- blazer_usb (cli)
- clone (cli)
- clone-outlet (cli)
- dummy-ups (cli)
- etapro (cli)
- everups (cli)
- failover (cli)
- gamatronic (cli)
- genericups (cli)
- isbmex (cli)
- ivtscd (cli)
- liebert (cli)
- liebert-esp2 (cli)
- liebert-gxe (cli)
- masterguard (cli)
- meanwell_ntu (cli)
- metasys (cli)
- mge-shut (cli)
- mge-utalk (cli)
- microdowell (cli)
- microsol-apc (cli)
- nhs_ser (cli)
- nut-upower (cli)
- nutconf (cli)
- nutdrv_atcl_usb (cli)
- nutdrv_hashx (cli)
- nutdrv_qx (cli)
- nutdrv_siemens-sitop (cli)
- oneac (cli)
- optiups (cli)
- powercom (cli)
- powerpanel (cli)
- powervar_cx_ser (cli)
- powervar_cx_usb (cli)
- rhino (cli)
- richcomm_usb (cli)
- riello_ser (cli)
- riello_usb (cli)
- safenet (cli)
- skel (cli)
- sms_ser (cli)
- solis (cli)
- tripplite (cli)
- tripplite_usb (cli)
- tripplitesu (cli)
- upsc (cli)
- upscmd (cli)
- upscode2 (cli)
- upsd (cli)
- upsdrvctl (cli)
- upsdrvsvcctl (cli)
- upslog (cli)
- upsmon (cli)
- upsrw (cli)
- upssched (cli)
- upssched-cmd (cli)
- usbhid-ups (cli)
- ve-direct (cli)
- victronups (cli)
- al175 (alias)
- apcsmart (alias)
- apcsmart-old (alias)
- apcupsd-ups (alias)
- bcmxcp (alias)
- bcmxcp_usb (alias)
- belkin (alias)
- belkinunv (alias)
- bestfcom (alias)
- bestfortress (alias)
- bestuferrups (alias)
- bestups (alias)
- bicker_ser (alias)
- blazer_ser (alias)
- blazer_usb (alias)
- clone (alias)
- clone-outlet (alias)
- dummy-ups (alias)
- etapro (alias)
- everups (alias)
- failover (alias)
- gamatronic (alias)
- genericups (alias)
- isbmex (alias)
- ivtscd (alias)
- liebert (alias)
- liebert-esp2 (alias)
- liebert-gxe (alias)
- masterguard (alias)
- meanwell_ntu (alias)
- metasys (alias)
- mge-shut (alias)
- mge-utalk (alias)
- microdowell (alias)
- microsol-apc (alias)
- nhs_ser (alias)
- nut-upower (alias)
- nutconf (alias)
- nutdrv_atcl_usb (alias)
- nutdrv_hashx (alias)
- nutdrv_qx (alias)
- nutdrv_siemens-sitop (alias)
- oneac (alias)
- optiups (alias)
- powercom (alias)
- powerpanel (alias)
- powervar_cx_ser (alias)
- powervar_cx_usb (alias)
- rhino (alias)
- richcomm_usb (alias)
- riello_ser (alias)
- riello_usb (alias)
- safenet (alias)
- skel (alias)
- sms_ser (alias)
- solis (alias)
- tripplite (alias)
- tripplite_usb (alias)
- tripplitesu (alias)
- upsc (alias)
- upscmd (alias)
- upscode2 (alias)
- upsd (alias)
- upsdrvctl (alias)
- upsdrvsvcctl (alias)
- upslog (alias)
- upsmon (alias)
- upsrw (alias)
- upssched (alias)
- upssched-cmd (alias)
- usbhid-ups (alias)
- ve-direct (alias)
- victronups (alias)

## Dependencies

- libusb
- openssl@3

## Build dependencies

- autoconf
- automake
- libtool
- pkgconf

## Install behavior

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

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 2.8.5
- Local data: ok
- Upstream repository: https://github.com/networkupstools/nut
- info: No package-manager update timestamp was available.
- info: No cached GitHub release or tag data was available.
## Project history and usage

Network UPS Tools, packaged as `nut`, is the standard open-source toolkit for monitoring and controlling UPSes, PDUs, automatic transfer switches, power supplies, and related power devices through a common protocol and driver/client/server architecture.

### Project history

The official NUT release notes trace the project back to Russell Kroll's 1996 APC Smart-UPS experiments, including cron-driven status reports and early protocol tests. Smart UPS Tools 0.10 was publicly released on March 10, 1998; a June 5, 1999 rewrite separated drivers, server, and clients; and the project renamed itself Network UPS Tools with 0.42.0 on October 31, 1999 to reflect multi-vendor support and avoid APC trademark proximity.

### Adoption history

NUT grew from one APC-focused monitor into a cross-vendor power-device layer. The official site said on July 1, 2026 that at least 197 manufacturers and 1,431 device models were known compatible. Its user manual says NUT is pre-packaged for many operating systems, embedded in storage, automation, and virtualization appliances, and often shipped as companion software by UPS vendors.

### How it is used

A normal deployment has device-specific drivers feeding `upsd`, clients such as `upsc` querying status, and `upsmon` coordinating graceful shutdown before battery exhaustion. Package users care about config files such as `ups.conf`, driver startup through `upsdrvctl`, network access control, port 3493, and matching the driver to the exact UPS/PDU hardware. Larger deployments use the network model so multiple hosts powered by one UPS can observe the same state and shut down together.

### Why package nerds care

NUT is operational plumbing: boring until power fails, then essential. It is packaging-heavy because it touches USB, serial, SNMP, Modbus, OpenSSL, init/service managers, CGI clients, Python/Perl/C/C++ client libraries, device rules, and OS-specific paths. RFC 9271, published in August 2022, documents the UPS management protocol used by the NUT ecosystem and reinforces that the project is more than a single Unix daemon.

### Timeline

- 1996: Russell Kroll begins APC Smart-UPS monitoring experiments.
- 1998-03-10: Smart UPS Tools 0.10 is publicly released.
- 1999-06-05: Version 0.40.0 introduces a redesigned driver/server/client architecture.
- 1999-10-31: Version 0.42.0 adopts the Network UPS Tools name.
- 2002-05: IANA assigns TCP port 3493 and NUT switches from the old port 3305.
- 2002-08-19: NUT 1.0.0 is released.
- 2004-03-23: NUT 2.0.0 arrives with the newer protocol and naming model.
- 2022-08: RFC 9271 publishes the UPS management protocol.
- 2026-04-03: GitHub release v2.8.5 is published.

### Related projects

- apcupsd
- PowerChute
- WMNut
- PyNUTClient
- libupsclient
- libnutclient

### Sources

- <https://api.github.com/repos/networkupstools/nut/releases?per_page=100>
- <https://formulae.brew.sh/formula/nut>
- <https://github.com/networkupstools/nut>
- <https://networkupstools.org/>
- <https://networkupstools.org/docs/developer-guide.chunked/net-protocol.html>
- <https://networkupstools.org/docs/release-notes.chunked/Project_History.html>
- <https://networkupstools.org/docs/user-manual.chunked/ar01s02.html>
- <https://www.rfc-editor.org/rfc/rfc9271.html>


## Security Notes

broad file, network, media, or database tool signal. formula declares a Homebrew service.

- **Geiger risk:** orange / medium
- broad file, network, media, or database tool signal
- formula declares a Homebrew service


## 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/ups/etc/nut.conf, /usr/local/ups/etc/ups.conf, /usr/local/ups/etc/upsd.conf, /usr/local/ups/etc/upsmon.conf

## Credential files

- Unix: /usr/local/ups/etc/upsd.users
## Source Database Details

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

## Other Package-Manager Records

- Debian apt - libnutclient-dev - 2.8.1-5: normalized package name match | Debian stable package indexes: libnutclient-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | network UPS tools - development files for the new client library | https://networkupstools.org/
- Debian apt - libnutclient2t64 - 2.8.1-5: normalized package name match | Debian stable package indexes: libnutclient2t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | network UPS tools - new client library | https://networkupstools.org/
- Debian apt - libnutscan-dev - 2.8.1-5: normalized package name match | Debian stable package indexes: libnutscan-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | network UPS tools - development files for the scanner library | https://networkupstools.org/
- Debian apt - libnutscan2 - 2.8.1-5: normalized package name match | Debian stable package indexes: libnutscan2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | network UPS tools - scanner library | https://networkupstools.org/
- Debian apt - libups-nut-perl - 2.8.1-5: normalized package name match | Debian stable package indexes: libups-nut-perl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | network UPS tools - Perl bindings for NUT server | https://networkupstools.org/
- Debian apt - libupsclient-dev - 2.8.1-5: normalized package name match | Debian stable package indexes: libupsclient-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | network UPS tools - development files | https://networkupstools.org/
- Debian apt - libupsclient6t64 - 2.8.1-5: normalized package name match | Debian stable package indexes: libupsclient6t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | network UPS tools - client library | https://networkupstools.org/
- Debian apt - nut - 2.8.1-5: normalized package name match | Debian stable package indexes: nut from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | network UPS tools - metapackage | https://networkupstools.org/
- Debian apt - nut-cgi - 2.8.1-5: normalized package name match | Debian stable package indexes: nut-cgi from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | network UPS tools - web interface | https://networkupstools.org/
- Debian apt - nut-client - 2.8.1-5: normalized package name match | Debian stable package indexes: nut-client from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | network UPS tools - clients | https://networkupstools.org/
- Debian apt - nut-doc - 2.8.1-5: normalized package name match | Debian stable package indexes: nut-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | network UPS tools - documentation | https://networkupstools.org/
- Debian apt - nut-i2c - 2.8.1-5: normalized package name match | Debian stable package indexes: nut-i2c from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | network UPS tools - I2C driver | https://networkupstools.org/
- Debian apt - nut-ipmi - 2.8.1-5: normalized package name match | Debian stable package indexes: nut-ipmi from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | network UPS tools - IPMI driver | https://networkupstools.org/
- Debian apt - nut-modbus - 2.8.1-5: normalized package name match | Debian stable package indexes: nut-modbus from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | network UPS tools - Modbus driver | https://networkupstools.org/
- Debian apt - nut-monitor - 2.8.1-5: normalized package name match | Debian stable package indexes: nut-monitor from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | network UPS tools - GUI application to monitor UPS status | https://networkupstools.org/
- Debian apt - nut-powerman-pdu - 2.8.1-5: normalized package name match | Debian stable package indexes: nut-powerman-pdu from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | network UPS tools - PowerMan PDU driver | https://networkupstools.org/


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [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.
- [openssl@3](https://www.automicvault.com/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [autoconf](https://www.automicvault.com/pkg/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://www.automicvault.com/pkg/brew/automake/) - Build dependency declared by Homebrew.
- [libtool](https://www.automicvault.com/pkg/brew/libtool/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [apcupsd](https://www.automicvault.com/pkg/brew/apcupsd/) - Shares av.db curated category or tags: cli, daemon, power-management, system, ups.
- [collectd](https://www.automicvault.com/pkg/brew/collectd/) - Shares av.db curated category or tags: cli, daemon, monitoring, system.
- [direvent](https://www.automicvault.com/pkg/brew/direvent/) - Shares av.db curated category or tags: cli, daemon, monitoring, system.
- [dwatch](https://www.automicvault.com/pkg/brew/dwatch/) - Shares av.db curated category or tags: cli, daemon, monitoring, system.
- [powerman](https://www.automicvault.com/pkg/brew/powerman/) - Shares av.db curated category or tags: cli, power-management, system.
- [uptimed](https://www.automicvault.com/pkg/brew/uptimed/) - Shares av.db curated category or tags: cli, daemon, monitoring, system.
- [zzz](https://www.automicvault.com/pkg/brew/zzz/) - Shares av.db curated category or tags: cli, power-management, system.
- [apachetop](https://www.automicvault.com/pkg/brew/apachetop/) - Shares av.db curated category or tags: cli, monitoring, system.
- [nagios-plugins](https://www.automicvault.com/pkg/brew/nagios-plugins/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, monitoring, network, openssl, openssl-3.
- [cfengine](https://www.automicvault.com/pkg/brew/cfengine/) - Local package facts share a topical domain. Shared terms: cli, management, openssl, openssl-3, support.
- [fwupd](https://www.automicvault.com/pkg/brew/fwupd/) - Local package facts share a topical domain. Shared terms: cli, daemon, libusb, system, usb.

## Combined YAML source

View the package source record on GitHub. [combined/nut.yml](https://github.com/automic-vault/db/blob/main/combined/nut.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
