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

Installation

This section guides you through a first-time download and installation, using Linux screenshots for demonstration.

Windows

  1. Run the following command in PowerShell (Windows only supports installation command execution in PowerShell):

    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, as shown in the following figure, CodeArts Agent CLI has been successfully installed.

    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 uses Linux screenshots as examples for demonstration.

  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, as shown in the following figure, CodeArts Agent CLI has been successfully installed.
    Figure 2 Output indicating successful installation

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