Commands for installing Command Palette - VS Code without prompts, removing it again and detecting it from deployment tools. A command is shown only when it is certain: from the manifest or the installer technology’s documented default.
Related guide: Silent install switches: MSI, NSIS, Inno Setup · Uninstall a program with the registry or PowerShell
With 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 --silentBy installer
64-bit · MSIX
Silent install
Add-AppxPackage -Path CmdPalVsCode_1.6.0.0_x64.MsixUninstall
Get-AppxPackage -Name JonahFintzDEV.602808C55E867 | Remove-AppxPackageARM64 · MSIX
Silent install
Add-AppxPackage -Path CmdPalVsCode_1.6.0.0_arm64.MsixUninstall
Get-AppxPackage -Name JonahFintzDEV.602808C55E867 | Remove-AppxPackagePowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
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