Updated on 2026-09-15 GMT+08:00

Installation

Preparations

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 steps use Linux as an example to show 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.