Commit 461c3d5
Add Linux, Windows, DEB, and RPM standalone agent upgrade commands (#4187)
## Summary
The standalone agent upgrade documentation only showed macOS commands.
Added tabbed interface with simplified upgrade commands for all
supported platforms:
- **macOS**: `sudo elastic-agent upgrade 9.1.1`
- **Linux**: `sudo elastic-agent upgrade 9.1.1`
- **Windows**: `.\elastic-agent.exe upgrade 9.1.1` (as Administrator)
- **DEB**: `sudo elastic-agent upgrade 9.1.1`
- **RPM**: `sudo elastic-agent upgrade 9.1.1`
The instructions leverage the fact that step 2 already directs users to
navigate to the installation directory, so the code blocks only show the
upgrade command itself. For DEB/RPM installations, the elastic-agent
binary is already in PATH via systemd install.
Uses same tab-set syntax as `install-standalone-elastic-agent.md`.
## Generative AI disclosure
1. Did you use a generative AI (GenAI) tool to assist in creating this
contribution?
- [x] Yes
- [ ] No
Tool(s) and model(s) used: GitHub Copilot (Claude)
<!-- START COPILOT CODING AGENT SUFFIX -->
<details>
<summary>Original prompt</summary>
>
> ----
>
> *This section details on the original issue you should resolve*
>
> <issue_title>[Fleet]: Standalone Agent Upgrade Commands not displayed
for Non-macOS</issue_title>
> <issue_description>**Description:**
> Upgrade standalone agents section only displays macOS upgrade
commands. Upgrade commands for other operating systems are missing.
>
> **Link:**
> https://www.elastic.co/docs/reference/fleet/upgrade-standalone
>
>
> **Screen-shot:**
>
> <img width="1601" height="740" alt="Image"
src="https://github.com/user-attachments/assets/f324c36a-2986-43ea-8822-9a654789e754"
/>
>
> **Whats working fine**
> - Installation commands are available for all operating systems.
>
> **Expected Result**
> Upgrade commands for standalone agents should be available for all
supported operating systems/artifacts. </issue_description>
>
> <agent_instructions>Here's the file:
https://github.com/elastic/docs-content/edit/main/reference/fleet/upgrade-standalone.md
>
> Add Linux, Windows, DEB, and RPM instructions. An example of the
syntax is available here:
https://www.elastic.co/docs/reference/fleet/install-standalone-elastic-agent
(https://github.com/elastic/docs-content/edit/main/reference/fleet/install-standalone-elastic-agent.md).</agent_instructions>
>
> ## Comments on the Issue (you are @copilot in this section)
>
> <comments>
> </comments>
>
</details>
- Fixes elastic/ingest-docs#1876
<!-- START COPILOT CODING AGENT TIPS -->
---
💬 We'd love your input! Share your thoughts on Copilot coding agent in
our [2 minute survey](https://gh.io/copilot-coding-agent-survey).
---------
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: bmorelli25 <[email protected]>
Co-authored-by: Brandon Morelli <[email protected]>1 parent 6dce73d commit 461c3d5
1 file changed
+46
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
17 | 39 | | |
18 | 40 | | |
19 | | - | |
20 | | - | |
| 41 | + | |
21 | 42 | | |
22 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
23 | 64 | | |
24 | 65 | | |
25 | 66 | | |
| |||
53 | 94 | | |
54 | 95 | | |
55 | 96 | | |
56 | | - | |
| 97 | + | |
57 | 98 | | |
58 | 99 | | |
59 | 100 | | |
| |||
63 | 104 | | |
64 | 105 | | |
65 | 106 | | |
66 | | - | |
| 107 | + | |
67 | 108 | | |
68 | 109 | | |
69 | 110 | | |
| |||
0 commit comments