Polecenia do instalacji programu Command Palette - VS Code 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 JonahFintzDEV.CommandPalette-VSCode -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id JonahFintzDEV.CommandPalette-VSCode -e --silentwinget uninstall --id JonahFintzDEV.CommandPalette-VSCode -e --silentWedług instalatora
64-bit · MSIX
Cicha instalacja
Add-AppxPackage -Path CmdPalVsCode_1.6.0.0_x64.MsixOdinstalowanie
Get-AppxPackage -Name JonahFintzDEV.602808C55E867 | Remove-AppxPackageARM64 · MSIX
Cicha instalacja
Add-AppxPackage -Path CmdPalVsCode_1.6.0.0_arm64.MsixOdinstalowanie
Get-AppxPackage -Name JonahFintzDEV.602808C55E867 | Remove-AppxPackagePowerShell: pobierz, zweryfikuj, zainstaluj
Pobiera oficjalny plik, sprawdza jego SHA256 i instaluje go po cichu.
install-command-palette-vs-code.ps1
$url = 'https://github.com/JonahFintzDev/CommandPaletteVSCode/releases/download/v1.6.0.0/CmdPalVsCode_1.6.0.0_x64.Msix'
$sha256 = '64D973A8DF6E2D99F54014F5259C6B9F4949E7F8FD3CC4D50F2A75F2380B9A82'
$file = Join-Path $env:TEMP 'CmdPalVsCode_1.6.0.0_x64.Msix'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file install-command-palette-vs-code.ps1
$url = 'https://github.com/JonahFintzDev/CommandPaletteVSCode/releases/download/v1.6.0.0/CmdPalVsCode_1.6.0.0_arm64.Msix'
$sha256 = 'EE2114B3C75389CDA707FD4000FBA70538A541D6D657887DAA72770ACFB3D1E2'
$file = Join-Path $env:TEMP 'CmdPalVsCode_1.6.0.0_arm64.Msix'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file