> ## Documentation Index
> Fetch the complete documentation index at: https://help.gorelo.io/llms.txt
> Use this file to discover all available pages before exploring further.

# 安装 Gorelo Agent

> 通过 PowerShell 或手动安装程序在 Windows 和 macOS 上安装 Gorelo Agent，可选通用或客户端特定的选项用于采纳和监控。

可以通过 PowerShell 命令（推荐）或手动可执行文件安装 Gorelo Agent。如果使用客户端特定的安装程序，它将自动与指定的客户/位置关联。如果使用通用安装程序，则可供采纳。

Gorelo 仅支持供应商（Microsoft/Apple）当前支持的操作系统。

* [**https://endoflife.date/windows**](https://endoflife.date/windows)
* [**https://endoflife.date/windows-server**](https://endoflife.date/windows-server)
* [**https://endoflife.date/macos**](https://endoflife.date/macos)

> [tab] Windows
>
> 通过 PowerShell 安装通用 Windows 代理：
>
> 1. 在主菜单中导航到 [**Assets List**](https://app.gorelo.io/Asset/asset-list)
>
> 2. 将鼠标悬停在右上角的 "**+Assets**" 按钮上，然后点击 "**Agent Asset**"
>
>    ![Image](https://mintcdn.com/gorelo/og_xzZB22DF2xgNQ/images/image-69.png?fit=max\&auto=format\&n=og_xzZB22DF2xgNQ\&q=85\&s=f12ffc1468fb70f442e1e2b30ada42d6)
>
> 3. 在弹出窗口中点击 "**Request Agent**"
>
>    ![Image](https://mintcdn.com/gorelo/og_xzZB22DF2xgNQ/images/image-69.png?fit=max\&auto=format\&n=og_xzZB22DF2xgNQ\&q=85\&s=f12ffc1468fb70f442e1e2b30ada42d6)
>
> 4. 复制 PowerShell 命令，粘贴到目标计算机上的 PowerShell 中并按 **Enter**
>
> 5. 当代理资产出现在资产列表中后，点击 Client/Location 列中的 "Adopt" 按钮（根据互联网带宽，这可能需要几分钟才能出现）
>
>    ![Image](https://mintcdn.com/gorelo/og_xzZB22DF2xgNQ/images/image-69.png?fit=max\&auto=format\&n=og_xzZB22DF2xgNQ\&q=85\&s=f12ffc1468fb70f442e1e2b30ada42d6)
>
> 6. 选择正确的 Client/Location 并点击 "**Save**" 进行采纳
>
> > [!TIP]
> >
> > 代理安装需要提升的会话权限。\
> > 对于 Windows，以管理员身份运行 PowerShell\
> > 对于 macOS，使用 "sudo su"（如果需要）

> [tab] Mac

有关故障排除，请参阅"[**Gorelo Agent 无法安装**](https://help.gorelo.io/gorelo-agent-wont-install.md)" 文章。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.