Download pre-built binaries from the official releases page.
Prometheus provides compiled binaries for Linux, macOS, and Windows.
You can download the appropriate version for your system directly from the official GitHub releases.
Also available as a Docker image (prom/prometheus).
If you are using containers, the official Docker image allows you to run Prometheus without manual installation.
This is especially common in Kubernetes and cloud-native environments.
On Linux, extract and run the binary.
After downloading the .tar.gz file, extract it and run:
tar xvfz prometheus-*.tar.gz
cd prometheus-*
Prometheus includes a default configuration file (prometheus.yml) in the package: