

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# 安装代 CodeDeploy 理
<a name="codedeploy-agent-operations-install"></a>

**版本 2.0.x 发布状态**  
该 CodeDeploy 代理的 2.0.x 版本正在全面推出 AWS 区域 ，可能尚未在所有地区推出。版本 2.0.0 是可选升级。按照本页上的说明从任何旧版本升级到 2.0.x 版。

要 CodeDeploy 在 EC2 实例或本地服务器上使用，必须先安装 CodeDeploy 代理。您可以使用 AWS Systems Manager 或使用命令行安装 CodeDeploy 代理。有关 Systems Manager 的详细信息，请参阅[什么是 AWS Systems Manager](https://docs.aws.amazon.com/systems-manager/latest/userguide/what-is-systems-manager.html)。

有关要安装的推荐版本，请参阅[CodeDeploy 代理的版本历史记录](codedeploy-agent.md#codedeploy-agent-version-history)。

**Topics**
+ [使用安装 CodeDeploy 代理 AWS Systems Manager](codedeploy-agent-operations-install-ssm.md)
+ [使用命令行安装 CodeDeploy 代理](codedeploy-agent-operations-install-cli.md)