---
title: "Comment by Sneha Tarnekar on \"How to Install Prometheus on Windows, Linux, and macOS\" | Hashnode"
description: "The command ./prometheus --config.file=prometheus.yml didn’t work on my Mac. Removing ./ did i.e prometheus --config.file=prometheus.yml Thanks!"
url: "https://hashnode.com/posts/how-to-install-prometheus-on-windows-linux-and-macos/665d1ed0d237cc8e81b820d8/comment/677f569d6034abfb8a448c42"
---

[Discussion](https://hashnode.com/posts/how-to-install-prometheus-on-windows-linux-and-macos/665d1ed0d237cc8e81b820d8)

Comment [How to Install Prometheus on Windows, Linux, and macOS](https://hashnode.com/posts/how-to-install-prometheus-on-windows-linux-and-macos/665d1ed0d237cc8e81b820d8)

[Sneha Tarnekar](https://hashnode.com/@snehatarnekar)

[Jan 9, 2025](https://hashnode.com/posts/how-to-install-prometheus-on-windows-linux-and-macos/665d1ed0d237cc8e81b820d8/comment/677f569d6034abfb8a448c42)

The command ./prometheus --config.file=prometheus.yml didn’t work on my Mac. Removing ./ did i.e **prometheus --config.file=prometheus.yml**

Thanks!
