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.
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 typebrew --prefix
.
Before you begin
- Install Homebrew on your computer.
Install
To install Grafana Agent Flow on macOS, run the following commands in a terminal window.
Add the Grafana Homebrew tap:
brew tap grafana/grafana
Install Grafana Agent Flow:
brew install grafana-agent-flow
Upgrade
To upgrade Grafana Agent Flow on macOS, run the following commands in a terminal window.
Upgrade Grafana Agent Flow:
brew upgrade grafana-agent-flow
Restart Grafana Agent Flow:
brew services restart grafana-agent-flow
Uninstall
To uninstall Grafana Agent Flow on macOS, run the following command in a terminal window:
brew uninstall grafana-agent-flow