Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,24 @@ The MSI package installer must be run by an administrator account. The installer

. Download the latest Elastic Agent MSI binary from the link:https://www.elastic.co/downloads/elastic-agent[{agent} download page].

. Run the installer:
. Run the installer. The command varies slightly depending on whether you're using the default Windows command prompt or PowerShell.
+
====
** Using the default command prompt:
+
[source,shell]
----
elastic-agent-<VERSION>-windows-x86_64.msi INSTALLARGS="--url=<URL> --enrollment-token=<TOKEN>"
----
+
** Using PowerShell:
+
[source,shell]
----
./elastic-agent-<VERSION>-windows-x86_64.msi --% INSTALLARGS="--url=<URL> --enrollment-token=<TOKEN>"
----
====
+
Where:

* `VERSION` is the {stack} version you're installing, indicated in the MSI package name. For example, `8.13.2`.
Expand Down
Loading