Menu
Open source

Install Grafana Alloy on macOS

You can install Alloy on macOS with Homebrew.

Note

The default prefix for Homebrew on Intel is /usr/local. The default prefix for Homebrew on Apple Silicon is /opt/Homebrew.

To verify the default prefix for Homebrew on your computer, open a terminal window and type brew --prefix.

Before you begin

Install

To install Alloy on macOS, run the following commands in a terminal window.

  1. Add the Grafana Homebrew tap:

    shell
    brew tap grafana/grafana
  2. Install Alloy:

    shell
    brew install grafana/grafana/alloy

Upgrade

To upgrade Alloy on macOS, run the following commands in a terminal window.

  1. Upgrade Alloy:

    shell
    brew upgrade grafana/grafana/alloy
  2. Restart Alloy:

    shell
    brew services restart alloy

Uninstall

To uninstall Alloy on macOS, run the following command in a terminal window:

shell
brew uninstall grafana/grafana/alloy

Next steps