Caution

Grafana Agent has reached End-of-Life (EOL) on November 1, 2025. Agent is no longer receiving vendor support and will no longer receive security or bug fixes. Current users of Agent Static mode, Agent Flow mode, and Agent Operator should proceed with migrating to Grafana Alloy. If you have already migrated to Alloy, no further action is required. Read more about why we recommend migrating to Grafana Alloy.

Open source

Install Grafana Agent Flow on macOS

You can install Grafana Agent Flow 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 Flow 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 Flow:

    shell
    brew install grafana-agent-flow

Upgrade

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

  1. Upgrade Grafana Agent Flow:

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

    shell
    brew services restart grafana-agent-flow

Uninstall

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

shell
brew uninstall grafana-agent-flow

Next steps