Menu

Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.

Open source

Install Grafana Alloy on macOS

Grafana Learning Journeys
Start your learning experience with Grafana Learning Journeys

Grafana Learning Journeys provide a clear, structured path that leads you from beginner concepts to advanced use cases. Learn about this Grafana feature on Monitor a macOS system in Grafana Cloud.

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 grafana/grafana/alloy

Uninstall

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

shell
brew uninstall grafana/grafana/alloy

Next steps