Kommandon för att installera SSH for Command Palette utan frågor, ta bort programmet igen och identifiera det i distributionsverktyg. Ett kommando visas bara när det är säkert: från manifestet eller som installationsteknikens dokumenterade standard.
Relaterad guide: Parametrar för tyst installation: MSI, NSIS, Inno · Avinstallera program via registret eller PowerShell
Med winget
PowerShell
winget install --id 8LWXpg.SSHforCommandPalette -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id 8LWXpg.SSHforCommandPalette -e --silentwinget uninstall --id 8LWXpg.SSHforCommandPalette -e --silentPer installationsfil
64-bitars · MSIX
Tyst installation
Add-AppxPackage -Path 8LWXpg.SSHforCommandPalette_1.0.0.msixbundleAvinstallation
Get-AppxPackage -Name 8LWXpg.SSHforCommandPalette | Remove-AppxPackage- Installationsmapp
- %ProgramFiles%\WindowsApps\8LWXpg.SSHforCommandPalette_1.0.0.0_x64__a6kn9e4pg75pr
ARM64 · MSIX
Tyst installation
Add-AppxPackage -Path 8LWXpg.SSHforCommandPalette_1.0.0.msixbundleAvinstallation
Get-AppxPackage -Name 8LWXpg.SSHforCommandPalette | Remove-AppxPackage- Installationsmapp
- %ProgramFiles%\WindowsApps\8LWXpg.SSHforCommandPalette_1.0.0.0_arm64__a6kn9e4pg75pr
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-ssh-for-command-palette.ps1
$url = 'https://github.com/8LWXpg/CmdPal-SSH/releases/download/v1.0.0/8LWXpg.SSHforCommandPalette_1.0.0.msixbundle'
$sha256 = '9D76C991BDE49710F0683341B44201A7D296D1D9007524FE81721852FCFB611C'
$file = Join-Path $env:TEMP '8LWXpg.SSHforCommandPalette_1.0.0.msixbundle'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file install-ssh-for-command-palette.ps1
$url = 'https://github.com/8LWXpg/CmdPal-SSH/releases/download/v1.0.0/8LWXpg.SSHforCommandPalette_1.0.0.msixbundle'
$sha256 = '9D76C991BDE49710F0683341B44201A7D296D1D9007524FE81721852FCFB611C'
$file = Join-Path $env:TEMP '8LWXpg.SSHforCommandPalette_1.0.0.msixbundle'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file