د CodeArts Agent بې پوښتنې نصبولو، بیا لرې کولو او د ځای پر ځای کولو وسایلو له لارې د پېژندلو کمانډونه. کمانډ یوازې هغه وخت ښودل کېږي چې ډاډمن وي: له مانیفسټ څخه یا د نصبوونکي ټکنالوژۍ له لیکل شوي اصلي حالت څخه.
اړوند لارښود: د چوپه نصب سویچونه: MSI، NSIS، Inno Setup · پروګرام د ریجسټري یا PowerShell په مرسته لرې کړئ
د winget سره
PowerShell
winget install --id Huawei.CodeArtsAgent -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Huawei.CodeArtsAgent -e --silentwinget uninstall --id Huawei.CodeArtsAgent -e --silentد نصبوونکي له مخې
64-bit · EXE (Inno Setup) · ټول کارنان
چوپه نصب
codearts-agent-x64-26.10.2-2acbda4.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-خپل فولډر
codearts-agent-x64-26.10.2-2acbda4.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\codearts-agent"- د Uninstall ریجسټري کیلي
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{86ced762-76e0-459c-aab9-12cd4f6a7654}_is1
PowerShell: ډاونلوډ، تایید، نصب
رسمي فایل ډاونلوډوي، SHA256 یې ګوري او په چوپه توګه یې نصبوي.
install-codearts-agent.ps1
$url = 'https://apsoutheast1-cloudide-marketplace.obs.ap-southeast-1.myhuaweicloud.com/codearts/ai/latest/codearts-agent-x64-26.10.2-2acbda4.exe'
$sha256 = 'AD9E135D9AAE22E0B9D9E048B8EA85E784848EAB533DFF231E1977B516D495D3'
$file = Join-Path $env:TEMP 'codearts-agent-x64-26.10.2-2acbda4.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait