Menu

Caution

Grafana Alloy is the new name for our distribution of the OTel collector. Grafana Agent has been deprecated and is in Long-Term Support (LTS) through October 31, 2025. Grafana Agent will reach an End-of-Life (EOL) on November 1, 2025. Read more about why we recommend migrating to Grafana Alloy.

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 Agent in flow mode on macOS

You can install Grafana Agent in flow mode 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 Grafana Agent on macOS, run the following commands in a terminal window.

  1. Add the Grafana Homebrew tap:

    shell
    brew tap grafana/grafana
  2. Install Grafana Agent:

    shell
    brew install grafana-agent-flow

Upgrade

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

  1. Upgrade Grafana Agent:

    shell
    brew upgrade grafana-agent-flow
  2. Restart Grafana Agent:

    shell
    brew services restart grafana-agent

Uninstall

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

shell
brew uninstall grafana-agent-flow

Next steps