APM Server can be installed on Windows with the following steps:
- First, we need to download the APM Server from the download section of Elastic (https://www.elastic.co/downloads/apm).
- Extract this downloaded zip under C:\Program Files.
- Rename the long directory name, with the version name appended to it, to a clean name such as apm-server.
- Open PowerShell with admin rights and run the following command:
cd 'C:\Program Files\apm-server'.\install-service-apm-server.ps1
This way, we can install APM Server on a Windows machine.