Polecenia do instalacji programu Codespace bez pytań, do jego usuwania i do wykrywania w narzędziach wdrożeniowych. Polecenie jest podane tylko wtedy, gdy jest pewne: pochodzi z manifestu albo z udokumentowanych ustawień domyślnych technologii instalatora.
Powiązany poradnik: Parametry cichej instalacji: MSI, NSIS, Inno Setup · Odinstalowanie programu przez rejestr lub PowerShell
Przez winget
PowerShell
winget install --id TristanEdwards.Codespace -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id TristanEdwards.Codespace -e --silentwinget uninstall --id TristanEdwards.Codespace -e --silentWedług instalatora
64-bit · EXE (NSIS) · Bieżący użytkownik
Cicha instalacja
Codespace-Setup-1.6.1.exe /SWłasny folder
Codespace-Setup-1.6.1.exe /S /D=C:\Apps\codespace- Klucz odinstalowania w rejestrze
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\0c108a88-c98a-575f-b77e-4d8844291bbf
PowerShell: pobierz, zweryfikuj, zainstaluj
Pobiera oficjalny plik, sprawdza jego SHA256 i instaluje go po cichu.
install-codespace.ps1
$url = 'https://codespace.app/updates/Codespace-Setup-1.6.1.exe'
$sha256 = 'C478762538DD24D56034416BD4F58F545B97197C761B219E6B94899250842C2D'
$file = Join-Path $env:TEMP 'Codespace-Setup-1.6.1.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