

# Install the CodeDeploy agent using the command line
<a name="codedeploy-agent-operations-install-cli"></a>

**Note**  
We recommend installing the CodeDeploy agent with Amazon Systems Manager to be able to configure scheduled updates of the agent. For more information, see [Install the CodeDeploy agent using Amazon Systems Manager](codedeploy-agent-operations-install-ssm.md).

Use the following topics to install and run the CodeDeploy agent using the command line.

**Topics**
+ [Install the CodeDeploy agent for Amazon Linux or RHEL](codedeploy-agent-operations-install-linux.md)
+ [Install the CodeDeploy agent for Ubuntu Server](codedeploy-agent-operations-install-ubuntu.md)
+ [Install the CodeDeploy agent for Windows Server](codedeploy-agent-operations-install-windows.md)