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

Upgrade

CodeArts Agent CLI supports both automatic upgrade and manual upgrade.

Automatic Upgrade

When you start CodeArts Agent CLI and the current version is not the latest, CodeArts Agent CLI prompts you whether to perform an automatic upgrade.

The screenshots in this section use the Command Prompt (CMD) interfaces as examples.

  1. Check whether a new version is detected. If yes, you will be prompted to perform an upgrade.
  2. Select Yes to start the upgrade.

    If Installation Successful is displayed, CodeArts Agent CLI has been successfully upgraded.

Manual Upgrade

Run the codearts upgrade command. If "Done" is displayed in the command output, the manual upgrade is successful.

Figure 1 Manual upgrade