Home > Back-end >  Not able to install prometheus on Mac os
Not able to install prometheus on Mac os

Time:07-07

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.

CodePudding user response:

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

CodePudding user response:

There are binaries for your platform available:

  1. Go to https://prometheus.io/download/
  2. Choose darwin as your Operating System and arm64 as your Architecture.
  3. Download the files you need.

Or, use this direct download link: Prometheus 2.36.2 for macOS on M1.

  • Related