Skip to content
Merged
Changes from 2 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,22 @@ 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:
Copy link
Contributor

@shainaraskas shainaraskas Dec 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the picky person in me is worried this looks like it applies to just the powershell command prompt. consider pulling out the bullets and making them all child paragraphs.

Copy link
Contributor Author

@kilfoyle kilfoyle Dec 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shainaraskas I've changed it to this, so the hierarchy is right. I'd like to avoid child paragraphs since it would differ from the formatting other, similar docs.

Here's how it looks now:

Screenshot 2024-12-16 at 3 58 55 PM


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