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 Windows
You can install Grafana Agent Flow on Windows as a standard graphical install, or as a silent install.
Standard graphical install
To do a standard graphical install of Grafana Agent Flow on Windows, perform the following steps.
Navigate to the latest release on GitHub.
Scroll down to the Assets section.
Download the file called
grafana-agent-flow-installer.exe.zip
.Unzip the downloaded file.
Double-click on
grafana-agent-installer.exe
to install Grafana Agent Flow.
Grafana Agent Flow is installed into the default directory C:\Program Files\Grafana Agent Flow
.
Silent install
To do a silent install of Grafana Agent Flow on Windows, perform the following steps.
Navigate to the latest release on GitHub.
Scroll down to the Assets section.
Download the file called
grafana-agent-flow-installer.exe.zip
.Unzip the downloaded file.
Run the following command in PowerShell or Command Prompt:
<PATH_TO_INSTALLER> /S
Replace the following:
<PATH_TO_INSTALLER>
: The path where the unzipped installer executable is located.
Silent install options
/CONFIG=<path>
Path to the configuration file. Default:$INSTDIR\config.river
/DISABLEREPORTING=<yes|no>
Disable data collection. Default:no
/DISABLEPROFILING=<yes|no>
Disable profiling endpoint. Default:no
/ENVIRONMENT="KEY=VALUE\0KEY2=VALUE2"
Define environment variables for Windows Service. Default: ``
Service Configuration
Grafana Agent Flow uses the Windows Registry HKLM\Software\Grafana\Grafana Agent Flow
for service configuration.
Arguments
(TypeREG_MULTI_SZ
) Each value represents a binary argument for grafana-agent-flow binary.Environment
(TypeREG_MULTI_SZ
) Each value represents a environment valueKEY=VALUE
for grafana-agent-flow binary.
Uninstall
You can uninstall Grafana Agent Flow with Windows Remove Programs or C:\Program Files\Grafana Agent\uninstaller.exe
.
Uninstalling Grafana Agent Flow stops the service and removes it from disk.
This includes any configuration files in the installation directory.
Grafana Agent Flow can also be silently uninstalled by running uninstall.exe /S
as Administrator.