macosprometheusprometheus-alertmanager

Not able to install prometheus on Mac os


I have downloaded prometheus-2.36.2.darwin-amd64.tar.gz file in my Mac system with a M1 processor. But I am unable to install and run prometheus. Please let me know the steps to install the same.


Solution

  • You have an M1 Mac and you try to install an amd64 image. So the processors instruction does not map to the installing image.

    You have to download an Image for the M1 architecture.

    You can also try to install it with brew install prometheus.

    Otherwise you may run it in an docker container which you find here: https://hub.docker.com/u/prom