# node_exporter を Homebrew, dnf, MacPorts, zypper でインストール

node_exporter のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:node_exporter
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install node_exporter
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install node_exporter
```

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

### Linux

- dnf (92%):

```sh
sudo dnf install node-exporter
```

  証拠: Fedora Rawhide package metadata: node-exporter from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- zypper (92%):

```sh
sudo zypper install golang-github-prometheus-node_exporter
```

  証拠: openSUSE Tumbleweed package metadata: golang-github-prometheus-node_exporter from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:node_exporter
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.12.1
- **ソース概要:** Prometheus exporter for machine metrics
- **ホームページ:** <https://prometheus.io/>
- **リポジトリ:** <https://github.com/prometheus/node_exporter>
- **最終更新:** 2026-07-26T19:43:15+02:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- node_exporter (エイリアス)
- node_exporter_brew_services (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.12.1
## プロジェクトの歴史と使われ方

`node_exporter` is Prometheus's Unix host-metrics exporter. It is one of the canonical Prometheus deployment pieces: install it on a machine, expose `/metrics` on port 9100, and let Prometheus scrape CPU, memory, filesystem, network, kernel, and other machine-level metrics.

### プロジェクトの歴史

The GitHub repository was created on 2013-04-18 under the Prometheus organization. The README describes it as a Go exporter for hardware and OS metrics exposed by *NIX kernels, with pluggable collectors and a separate recommendation to use `windows_exporter` for Windows machines.

The project evolved by growing a large collector surface while keeping some expensive or high-cardinality collectors disabled by default. The README documents default collectors such as cpu, diskstats, filesystem, loadavg, meminfo, netdev, textfile, uname, vmstat, and many others, plus opt-in collectors such as systemd, perf, processes, tcpstat, wifi, and zoneinfo.

### 採用の歴史

By 2026-07-01, GitHub metadata reported 13562 stars and 2672 forks for `prometheus/node_exporter`. Homebrew's formula API reported stable version 1.11.1 and 5544 installs over 365 days. That Homebrew number is only a small slice of usage because production deployments often use distro packages, containers, configuration management, or upstream release tarballs.

The Prometheus documentation treats Node Exporter as the standard path for Linux host metrics and walks through downloading a release, running the binary, scraping `localhost:9100`, and checking metrics with the `node_` prefix. Grafana and Prometheus ecosystem docs commonly use it as the base host telemetry example.

### 使われ方

The practical pattern is boring and important: run one `node_exporter` per host, expose port 9100 to Prometheus, and tune collectors only when needed. In containers, the README warns that the exporter is designed to monitor the host system, so Docker deployments bind-mount the host root filesystem, use host networking and PID namespace, and set `--path.rootfs=/host`.

Package nerds care about collector flags. Default collectors cover the normal node dashboard path; opt-in collectors need testing because scrape duration, timeout, and sample cardinality can jump. The textfile collector is the escape hatch for local scripts and cron jobs: write Prometheus-format files to a configured directory and let node_exporter expose them with the rest of the host metrics.

### パッケージ好きにとっての重要性

This is not related to Node.js despite the name. In Prometheus vocabulary, a node is a machine. That naming collision is worth encoding because package search and enrichment can otherwise confuse JavaScript tooling with host observability tooling.

### タイムライン

- 2013-04-18: GitHub repository `prometheus/node_exporter` was created.
- 2024-07-14: v1.8.2 release metadata appeared in GitHub releases.
- 2025-10-24: v1.10.0 was released.
- 2026-04-07: v1.11.1 was released and Homebrew reported it as the stable formula version on 2026-07-01.

### Related projects

- Prometheus
- Grafana
- windows_exporter
- prometheus-community/node-exporter-textfile-collector-scripts

### ソース

- <https://api.github.com/repos/prometheus/node_exporter>
- <https://formulae.brew.sh/api/formula/node_exporter.json>
- <https://github.com/prometheus/node_exporter>
- <https://github.com/prometheus/node_exporter/releases>
- <https://prometheus.io/docs/guides/node-exporter/>
- <https://raw.githubusercontent.com/prometheus/node_exporter/master/README.md>


## セキュリティノート

formula declares a Homebrew service.

- **Geiger リスク:** orange / 中
- formula declares a Homebrew service

## 他のパッケージマネージャ記録

- dnf - node-exporter - 1.12.1-2.fc45: normalized package name match | Fedora Rawhide package metadata: node-exporter from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Exporter for machine metrics | https://github.com/prometheus/node_exporter
- zypper - golang-github-prometheus-node_exporter - 1.12.1-1.1: normalized package name match | openSUSE Tumbleweed package metadata: golang-github-prometheus-node_exporter from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Prometheus exporter for machine metrics | https://github.com/prometheus/node_exporter
- MacPorts - node_exporter: normalized package name match | MacPorts ports tree: sysutils/node_exporter/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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


## ソース

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