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

Upgrade

You can upgrade CodeArts Agent CLI either automatically or manually.

Automatic Upgrade

When you start CodeArts Agent CLI and the current version is not the latest, CodeArts Agent CLI prompts you to upgrade automatically. Enter Yes to confirm the upgrade. If Installation Successful appears, CodeArts Agent CLI has been upgraded successfully.

Manual Upgrade

Open the terminal and run the codearts upgrade command. If Done appears in the output, the manual upgrade is complete.

Figure 1 Manual upgrade