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