Updated on 2026-08-07 GMT+08:00

Installation

This section describes how to install CodeArts Agent CLI on Windows, macOS, and Linux for the first time.

Windows

In Windows, you can run the installation command only through PowerShell.

  1. Open PowerShell and run the CodeArts Agent CLI installation command.

    irm https://apsoutheast1-cloudide-marketplace.obs.ap-southeast-1.myhuaweicloud.com/codearts/cli_tui/install_script/install.ps1 | iex

    If the CodeArts Agent CLI version is displayed, the installation is successful.

    Figure 1 Output indicating successful installation on Windows

  2. After the installation is successful, complete authorization by referring to Authorization.
  3. (Optional) If you are on the intranet, configure the proxy.

macOS/Linux

The following procedures use the Linux OS as an example to describe how to install CodeArts Agent CLI.

  1. (Optional) If you are on the intranet, configure the proxy.
  2. Run the following command on the terminal to download and execute the installation script of CodeArts Agent CLI:

    sh -c "$(curl -L https://apsoutheast1-cloudide-marketplace.obs.ap-southeast-1.myhuaweicloud.com/codearts/cli_tui/install_script/install.sh)" && export PATH=~/.codeartsdoer/installers:$PATH

    If the CodeArts Agent CLI version is displayed, the installation is successful.

  3. After the installation is successful, complete authorization by referring to Authorization.