Install Grafana Alloy on macOS
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 Homebrew on your computer.
Install
To install Alloy on macOS, run the following commands in a terminal window.
Add the Grafana Homebrew tap:
brew tap grafana/grafana
Install Alloy:
brew install grafana/grafana/alloy
Upgrade
To upgrade Alloy on macOS, run the following commands in a terminal window.
Upgrade Alloy:
brew upgrade grafana/grafana/alloy
Restart Alloy:
brew services restart alloy
Uninstall
To uninstall Alloy on macOS, run the following command in a terminal window:
brew uninstall grafana/grafana/alloy