Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper 安装 nut

查看 nut 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install nut

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install nut

MacPorts ports tree · sysutils/nut/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add nut

Alpine Linux edge package indexes · nut · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install libnutclient-dev

Debian stable package indexes · libnutclient-dev · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install nut

Fedora Rawhide package metadata · nut · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#nut

nixpkgs package indexes · pkgs/by-name/nu/nut/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S nut

Arch Linux sync databases · nut · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install libnutclient2

openSUSE Tumbleweed package metadata · libnutclient2 · 来源: download.opensuse.org

概览

软件包摘要

Network UPS Tools: Support for various power devices

命令和别名

  • al175
  • apcsmart
  • apcsmart-old
  • apcupsd-ups
  • bcmxcp
  • bcmxcp_usb
  • belkin
  • belkinunv
  • bestfcom
  • bestfortress
  • bestuferrups
  • bestups
  • bicker_ser
  • blazer_ser
  • blazer_usb
  • clone
  • clone-outlet
  • dummy-ups
  • etapro
  • everups
  • failover
  • gamatronic
  • genericups
  • isbmex
  • ivtscd
  • liebert
  • liebert-esp2
  • liebert-gxe
  • masterguard
  • meanwell_ntu
  • metasys
  • mge-shut

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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.

为什么软件包爱好者会关心

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.

时间线

  • 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

安全态势

风险级别:orange

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

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

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

信号

  • metadata:service
  • text:network

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • formula 元数据声明了服务或守护进程块。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 2 个运行时依赖。
  • 构建元数据列出 4 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

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

Config paths the tool may read or write during local use.

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

Credential-bearing paths to review before unattended agent runs.

Unix
/usr/local/ups/etc/upsd.users

可执行文件

已安装的可执行文件

命令类型暴露范围备注
al175cli全局可执行文件
apcsmartcli全局可执行文件
apcsmart-oldcli全局可执行文件
apcupsd-upscli全局可执行文件
bcmxcpcli全局可执行文件
bcmxcp_usbcli全局可执行文件
belkincli全局可执行文件
belkinunvcli全局可执行文件
bestfcomcli全局可执行文件
bestfortresscli全局可执行文件
bestuferrupscli全局可执行文件
bestupscli全局可执行文件
bicker_sercli全局可执行文件
blazer_sercli全局可执行文件
blazer_usbcli全局可执行文件
clonecli全局可执行文件
clone-outletcli全局可执行文件
dummy-upscli全局可执行文件
etaprocli全局可执行文件
everupscli全局可执行文件
failovercli全局可执行文件
gamatroniccli全局可执行文件
genericupscli全局可执行文件
isbmexcli全局可执行文件
ivtscdcli全局可执行文件
liebertcli全局可执行文件
liebert-esp2cli全局可执行文件
liebert-gxecli全局可执行文件
masterguardcli全局可执行文件
meanwell_ntucli全局可执行文件
metasyscli全局可执行文件
mge-shutcli全局可执行文件
mge-utalkcli全局可执行文件
microdowellcli全局可执行文件
microsol-apccli全局可执行文件
nhs_sercli全局可执行文件
nut-upowercli全局可执行文件
nutconfcli全局可执行文件
nutdrv_atcl_usbcli全局可执行文件
nutdrv_hashxcli全局可执行文件
nutdrv_qxcli全局可执行文件
nutdrv_siemens-sitopcli全局可执行文件
oneaccli全局可执行文件
optiupscli全局可执行文件
powercomcli全局可执行文件
powerpanelcli全局可执行文件
powervar_cx_sercli全局可执行文件
powervar_cx_usbcli全局可执行文件
rhinocli全局可执行文件
richcomm_usbcli全局可执行文件
riello_sercli全局可执行文件
riello_usbcli全局可执行文件
safenetcli全局可执行文件
skelcli全局可执行文件
sms_sercli全局可执行文件
soliscli全局可执行文件
tripplitecli全局可执行文件
tripplite_usbcli全局可执行文件
tripplitesucli全局可执行文件
upsccli全局可执行文件
upscmdcli全局可执行文件
upscode2cli全局可执行文件
upsdcli全局可执行文件
upsdrvctlcli全局可执行文件
upsdrvsvcctlcli全局可执行文件
upslogcli全局可执行文件
upsmoncli全局可执行文件
upsrwcli全局可执行文件
upsschedcli全局可执行文件
upssched-cmdcli全局可执行文件
usbhid-upscli全局可执行文件
ve-directcli全局可执行文件
victronupscli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-08
管理器版本2.8.5
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/networkupstools/nut

安装元数据

软件包元数据

软件包键brew:nut
版本2.8.5
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/nut
主页https://networkupstools.org/
仓库https://github.com/networkupstools/nut
上游文档https://networkupstools.org/documentation.html
许可证GPL-2.0-or-later
源码归档https://github.com/networkupstools/nut/releases/download/v2.8.5/nut-2.8.5.tar.gz
依赖libusb, openssl@3
构建依赖autoconf, automake, libtool, pkgconf
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务declared

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namenut
Version Scheme0
Revision0
Head VersionHEAD
Conflicts With
  • rhino
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

libnutclient-dev 2.8.1-5

network UPS tools - development files for the new client library

https://networkupstools.org/

sudo apt install libnutclient-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: nut
  • 1 依赖
  • normalized package name match
  • 匹配方式:Nut
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libnutclient-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libnutclient2t64 2.8.1-5

network UPS tools - new client library

https://networkupstools.org/

sudo apt install libnutclient2t64
  • Section: libs
  • Architecture: amd64
  • Source Package: nut
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Nut
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libnutclient2t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libnutscan-dev 2.8.1-5

network UPS tools - development files for the scanner library

https://networkupstools.org/

sudo apt install libnutscan-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: nut
  • 1 依赖
  • normalized package name match
  • 匹配方式:Nut
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libnutscan-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libnutscan2 2.8.1-5

network UPS tools - scanner library

https://networkupstools.org/

sudo apt install libnutscan2
  • Section: libs
  • Architecture: amd64
  • Source Package: nut
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Nut
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libnutscan2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libups-nut-perl 2.8.1-5

network UPS tools - Perl bindings for NUT server

https://networkupstools.org/

sudo apt install libups-nut-perl
  • Section: perl
  • Architecture: all
  • Source Package: nut
  • 1 依赖
  • normalized package name match
  • 匹配方式:Nut
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libups-nut-perl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libupsclient-dev 2.8.1-5

network UPS tools - development files

https://networkupstools.org/

sudo apt install libupsclient-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: nut
  • 2 依赖
  • normalized package name match
  • 匹配方式:Nut
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libupsclient-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libupsclient6t64 2.8.1-5

network UPS tools - client library

https://networkupstools.org/

sudo apt install libupsclient6t64
  • Section: libs
  • Architecture: amd64
  • Source Package: nut
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Nut
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libupsclient6t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

nut 2.8.1-5

network UPS tools - metapackage

https://networkupstools.org/

sudo apt install nut
  • Section: metapackages
  • Architecture: all
  • 2 依赖
  • normalized package name match
  • 匹配方式:Nut
Debian stable package indexes · deb.debian.org · Debian stable package indexes: nut from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

nut-cgi 2.8.1-5

network UPS tools - web interface

https://networkupstools.org/

sudo apt install nut-cgi
  • Section: admin
  • Architecture: amd64
  • Source Package: nut
  • 4 依赖
  • 3 可选依赖
  • normalized package name match
  • 匹配方式:Nut
Debian stable package indexes · deb.debian.org · Debian stable package indexes: nut-cgi from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

nut-client 2.8.1-5

network UPS tools - clients

https://networkupstools.org/

sudo apt install nut-client
  • Section: admin
  • Architecture: amd64
  • Source Package: nut
  • 4 依赖
  • 1 提供
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Nut
Debian stable package indexes · deb.debian.org · Debian stable package indexes: nut-client from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

nut-doc 2.8.1-5

network UPS tools - documentation

https://networkupstools.org/

sudo apt install nut-doc
  • Section: doc
  • Architecture: all
  • Source Package: nut
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Nut
Debian stable package indexes · deb.debian.org · Debian stable package indexes: nut-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

nut-i2c 2.8.1-5

network UPS tools - I2C driver

https://networkupstools.org/

sudo apt install nut-i2c
  • Section: admin
  • Architecture: amd64
  • Source Package: nut
  • 4 依赖
  • normalized package name match
  • 匹配方式:Nut
Debian stable package indexes · deb.debian.org · Debian stable package indexes: nut-i2c from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

nut-ipmi 2.8.1-5

network UPS tools - IPMI driver

https://networkupstools.org/

sudo apt install nut-ipmi
  • Section: admin
  • Architecture: amd64
  • Source Package: nut
  • 5 依赖
  • normalized package name match
  • 匹配方式:Nut
Debian stable package indexes · deb.debian.org · Debian stable package indexes: nut-ipmi from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

nut-modbus 2.8.1-5

network UPS tools - Modbus driver

https://networkupstools.org/

sudo apt install nut-modbus
  • Section: admin
  • Architecture: amd64
  • Source Package: nut
  • 5 依赖
  • normalized package name match
  • 匹配方式:Nut
Debian stable package indexes · deb.debian.org · Debian stable package indexes: nut-modbus from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

nut-monitor 2.8.1-5

network UPS tools - GUI application to monitor UPS status

https://networkupstools.org/

sudo apt install nut-monitor
  • Section: admin
  • Architecture: all
  • Source Package: nut
  • 3 依赖
  • normalized package name match
  • 匹配方式:Nut
Debian stable package indexes · deb.debian.org · Debian stable package indexes: nut-monitor from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

nut-powerman-pdu 2.8.1-5

network UPS tools - PowerMan PDU driver

https://networkupstools.org/

sudo apt install nut-powerman-pdu
  • Section: admin
  • Architecture: amd64
  • Source Package: nut
  • 5 依赖
  • normalized package name match
  • 匹配方式:Nut
Debian stable package indexes · deb.debian.org · Debian stable package indexes: nut-powerman-pdu from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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