Installation
Preparations
- Before coding with CodeArts Agent CLI, sign up for a Huawei Cloud account and purchase a package.
- Visit the Huawei Cloud official website, and click Sign Up in the upper right corner.
- Sign up for a Huawei Cloud account.
- Subscribe to a CodeArts Agent package based on your service requirements. For details, see Subscription Management.
- If you are using an IAM user, use the enterprise administrator account to assign a seat to the user.
Windows
In Windows, you can run the installation command only through PowerShell.
- 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
- After the installation is successful, complete authorization by referring to Authorization.
- (Optional) If you are on the intranet, configure the proxy.
macOS/Linux
The installation method for CodeArts Agent CLI is the same on macOS and Linux. The following walks you through the installation process step by step, using Linux as an example.
- (Optional) If you are on the intranet, configure the proxy.
- 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.
- After the installation is successful, complete authorization by referring to Authorization.
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot