Skip to content

Commit

Permalink
Fix upgrade instructions in Fleet docs (#22701)
Browse files Browse the repository at this point in the history
  • Loading branch information
dedemorton committed Dec 15, 2020
1 parent ad3f8a3 commit 5db4039
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions x-pack/elastic-agent/docs/upgrade-elastic-agent.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,21 @@ image:images/fleet-agents.png[Upgrade menu for bulk upgrade in {fleet}]
[[upgrade-standalone]]
== Upgrade standalone agents

To upgrade a standalone agent running on an edge node, download the new version
to your host, then run the `install` command to upgrade to the new version. See
<<elastic-agent-installation>>.
To upgrade a standalone agent running on an edge node:

. Make sure the `elastic-agent` service is running.
. From the directory where {agent} is installed, run the `upgrade` command to
upgrade to a new version. Not sure where the agent is
installed? See <<installation-layout>>.
+
For example, on macOS, to upgrade the agent from version 7.10.0 to 7.10.1, you
would run:
+
[source,shell]
----
cd /Library/Elastic/Agent/
sudo elastic-agent upgrade 7.10.1
----

For more command-line options, see the help for the
<<elastic-agent-upgrade-command,`upgrade`>> command.

0 comments on commit 5db4039

Please sign in to comment.