1
0
mirror of https://github.com/prometheus/docs.git synced 2026-02-05 06:45:01 +01:00

docs: explain all placeholders in node exporter download URL

Improves the download instructions by:
- Explaining the URL pattern with all placeholders clearly defined
- Listing what <VERSION>, <OS>, and <ARCH> mean with examples
- Using concrete example values (v1.10.2, linux-amd64) in commands
- Making it easier for new users to understand what to replace

Addresses review feedback on PR #2810.

Signed-off-by: Sibasis Padhi <sibasis.padhi@gmail.com>
This commit is contained in:
Sibasis Padhi
2026-01-13 08:28:19 -06:00
committed by Sibasis
parent b0175ec5c7
commit 5cc3355ebb

View File

@@ -17,11 +17,20 @@ The Prometheus Node Exporter is a single static binary that you can install [via
```bash
# NOTE: Replace the URL with one from the above mentioned "downloads" page.
# Download the appropriate bundle for your operating system and hardware architecture.
# <VERSION>, <OS>, and <ARCH> are placeholders (e.g., linux-amd64, darwin-arm64, etc.).
wget https://github.com/prometheus/node_exporter/releases/download/v<VERSION>/node_exporter-<VERSION>.<OS>-<ARCH>.tar.gz
tar xvfz node_exporter-<VERSION>.<OS>-<ARCH>.tar.gz
cd node_exporter-<VERSION>.<OS>-<ARCH>
# Node Exporter is available for multiple OS targets and architectures.
# Downloads are available at:
# https://github.com/prometheus/node_exporter/releases/download/v<VERSION>/node_exporter-<VERSION>.<OS>-<ARCH>.tar.gz
#
# <VERSION>, <OS>, and <ARCH> are placeholders:
# - <VERSION>: Release version (e.g., 1.10.2)
# - <OS>: Operating system (e.g., linux, darwin, freebsd)
# - <ARCH>: Architecture (e.g., amd64, arm64, 386)
#
# For this example, we will use Node Exporter version 1.10.2 for a Linux system with amd64 architecture.
wget https://github.com/prometheus/node_exporter/releases/download/v1.10.2/node_exporter-1.10.2.linux-amd64.tar.gz
tar xvfz node_exporter-1.10.2.linux-amd64.tar.gz
cd node_exporter-1.10.2.linux-amd64
./node_exporter
```