FlyEnv 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 xpf0000.FlyEnv -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id xpf0000.FlyEnv -e --silentwinget uninstall --id xpf0000.FlyEnv -e --silentKurulum dosyasına göre
64 bit · EXE (NSIS) · Yalnızca bu kullanıcı
Sessiz kurulum
FlyEnv-Setup-4.20.2.exe /SFarklı klasör
FlyEnv-Setup-4.20.2.exe /S /D=C:\Apps\flyenv- Kaldırma kayıt defteri anahtarı
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\58e103f9-7c07-5ccc-9a52-ce8faf14c36b
64 bit · EXE (NSIS) · Tüm kullanıcılar
Sessiz kurulum
FlyEnv-Setup-4.20.2.exe /SFarklı klasör
FlyEnv-Setup-4.20.2.exe /S /D=C:\Apps\flyenv- Kaldırma kayıt defteri anahtarı
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\58e103f9-7c07-5ccc-9a52-ce8faf14c36b
PowerShell: indir, doğrula, kur
Resmî dosyayı indirir, SHA256 değerini doğrular ve sessizce kurar.
install-flyenv.ps1
$url = 'https://github.com/xpf0000/FlyEnv/releases/download/v4.20.2/FlyEnv-Setup-4.20.2.exe'
$sha256 = 'FA41ED34B42A2DC4925381AB7C1299F4D72A5AE44825EC43ACB9D301AACD1707'
$file = Join-Path $env:TEMP 'FlyEnv-Setup-4.20.2.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 '/S' -Wait install-flyenv.ps1
$url = 'https://github.com/xpf0000/FlyEnv/releases/download/v4.20.2/FlyEnv-Setup-4.20.2.exe'
$sha256 = 'FA41ED34B42A2DC4925381AB7C1299F4D72A5AE44825EC43ACB9D301AACD1707'
$file = Join-Path $env:TEMP 'FlyEnv-Setup-4.20.2.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 '/S' -Wait