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

Prerequisites

Before performing this practice, subscribe to a CodeArts package and configure permissions for each role.

This practice uses the Windows OS as an example.

Constraints

Table 1 Practice case restrictions

Category

Constraint

Region

This practice is applicable to:

CodeArts (the AP-Singapore region is used as an example)

CodeArts Agent (the CN-Hong Kong region is used as an example)

Tool

This practice supports only CodeArts Agent IDE.

OS

  • Windows OS: Windows 11 (x64) is recommended. For Windows 10 (x64), the version must be 2019 or later, and upgrading to the latest stable version is advised.
  • macOS: macOS 11 or later, compatible with ARM64 (Apple Silicon).
  • Linux: Linux (ARM64) architecture, glibc version ≥ 2.31, glibcxx version ≥ 3.4.26.

Third-party software version

Node.js≥18.0.0

Purchasing a CodeArts Package

  1. Sign up for a HUAWEI ID and enable Huawei Cloud services.
  2. Use your HUAWEI ID to log in to the Buy CodeArts package page.
  3. Configure the CodeArts package parameters. In this practice, the Free package is used as an example.

    Table 2 Purchasing a CodeArts package

    Parameter

    Value

    Description

    Region

    AP-Singapore

    The CodeArts package applies only in the region selected during purchase and cannot be used in other regions.

    CodeArts Package

    Select Free.

    Edition of the CodeArts package

    Users

    50 (fixed value for the free edition)

    Number of users included in the CodeArts package. The free edition has a fixed value of 50.

    Required Duration

    1 month

    How long you will use the CodeArts package. The free edition has a fixed value of 1 month.

    Auto-renew

    Enable

    This parameter is optional. Enable it as needed. Once enabled, the package will be automatically renewed when it expires.

    • Required duration in months: The package will renew for 1 month each time. The number of renewal times is unlimited.
    • Required duration in years: The package will renew for 1 year each time. The number of renewal times is unlimited.

    For more details, see Auto-Renewal Rules.

  4. Click Enable.

    After purchasing the free package with a HUAWEI ID, proceed with Setting a Project Creator.

Setting a Project Creator

  1. Open the CodeArts homepage using your HUAWEI ID.

    1. Log in to the CodeArts console using your HUAWEI ID, click , and select AP-Singapore.
    2. Click Go to Workspace in the upper right corner.

  2. Click the username on the top navigation bar and choose All Account Settings.
  3. Choose General > Project Creators.
  4. Select All members can create projects. After that, all IAM users in your account can create projects.

    After setting the project creator, proceed with Creating a CodeArts Project and Setting CodeCheck Rules.