step-agent programını soru sormadan kurmak, kaldırmak ve dağıtım araçlarında algılamak için komutlar. Bir komut yalnızca kesinse gösterilir: manifestteki anahtar ya da kurulum teknolojisinin belgelenmiş varsayılanı.
İlgili rehber: Sessiz kurulum parametreleri: MSI, NSIS, Inno Setup · Kayıt defteri veya PowerShell ile program kaldırma
winget ile
PowerShell
winget install --id Smallstep.step-agent -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Smallstep.step-agent -e --silentwinget uninstall --id Smallstep.step-agent -e --silentKurulum dosyasına göre
64 bit · MSI · en-US
Sessiz kurulum
msiexec /i step-agent_amd64.msi /qn /norestartGünlük dosyası yaz
msiexec /i step-agent_amd64.msi /qn /norestart /l*v "%TEMP%\step-agent-install.log"ARM64 · MSI · en-US
Sessiz kurulum
msiexec /i step-agent_arm64.msi /qn /norestartGünlük dosyası yaz
msiexec /i step-agent_arm64.msi /qn /norestart /l*v "%TEMP%\step-agent-install.log"PowerShell: indir, doğrula, kur
Resmî dosyayı indirir, SHA256 değerini doğrular ve sessizce kurar.
install-step-agent.ps1
$url = 'https://github.com/smallstep/step-agent/releases/download/v0.72.0/step-agent_amd64.msi'
$sha256 = 'FA1081262789EE2F370E1DDA464694F03F7907F3DF59B4C8BF5F7EC2B47C288A'
$file = Join-Path $env:TEMP 'step-agent_amd64.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait install-step-agent.ps1
$url = 'https://github.com/smallstep/step-agent/releases/download/v0.72.0/step-agent_arm64.msi'
$sha256 = 'D765E0BA082D960F418FD29820E710120C6C382D631D278B987F876AC3EF552C'
$file = Join-Path $env:TEMP 'step-agent_arm64.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait