Discloud CLI proqramını sual vermədən quraşdırmaq, silmək və yayma alətlərində aşkarlamaq üçün əmrlər. Əmr yalnız dəqiq olduqda göstərilir: manifestdəki açar və ya quraşdırma texnologiyasının sənədləşdirilmiş standart açarı.
Əlaqəli təlimat: Səssiz quraşdırma açarları: MSI, NSIS, Inno Setup · Proqramı reyestr və ya PowerShell ilə necə silmək olar
winget ilə
PowerShell
winget install --id Discloud.CLI -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Discloud.CLI -e --silentwinget uninstall --id Discloud.CLI -e --silentQuraşdırma faylına görə
64 bit · EXE (Inno Setup)
Səssiz quraşdırma
discloud-cli-x64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Başqa qovluq
discloud-cli-x64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\discloud-cli"ARM64 · EXE (Inno Setup)
Səssiz quraşdırma
discloud-cli-x64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Başqa qovluq
discloud-cli-x64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\discloud-cli"PowerShell: yüklə, yoxla, quraşdır
Rəsmi faylı yükləyir, SHA256 heşini yoxlayır və səssiz quraşdırır.
install-discloud-cli.ps1
$url = 'https://github.com/discloud/cli-dart/releases/download/1.6.0/discloud-cli-x64-setup.exe'
$sha256 = '3D86EFFB7E758C83B7BA0FFC7501A40496BE09FAF30A840AAB2CD882FBAEC982'
$file = Join-Path $env:TEMP 'discloud-cli-x64-setup.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 install-discloud-cli.ps1
$url = 'https://github.com/discloud/cli-dart/releases/download/1.6.0/discloud-cli-x64-setup.exe'
$sha256 = '3D86EFFB7E758C83B7BA0FFC7501A40496BE09FAF30A840AAB2CD882FBAEC982'
$file = Join-Path $env:TEMP 'discloud-cli-x64-setup.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