Commands for installing Podman CLI 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 Podman.CLI -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Podman.CLI -e --silentwinget uninstall --id Podman.CLI -e --silentBy installer
64-bit · MSI
Silent install
msiexec /i podman-installer-windows-amd64.msi /qn /norestartWrite a log
msiexec /i podman-installer-windows-amd64.msi /qn /norestart /l*v "%TEMP%\podman-cli-install.log"Uninstall
msiexec /x {E8D285D4-F069-44B9-BF8A-C41ED47B02B8} /qn /norestart- MSI product code
- {E8D285D4-F069-44B9-BF8A-C41ED47B02B8}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{E8D285D4-F069-44B9-BF8A-C41ED47B02B8}
- UpgradeCode
- {A6A9DD9C-0732-44BA-9279-FFE22EA50671}
ARM64 · MSI
Silent install
msiexec /i podman-installer-windows-arm64.msi /qn /norestartWrite a log
msiexec /i podman-installer-windows-arm64.msi /qn /norestart /l*v "%TEMP%\podman-cli-install.log"Uninstall
msiexec /x {E55F342F-1F18-4AA4-81F3-586FC59DD5FE} /qn /norestart- MSI product code
- {E55F342F-1F18-4AA4-81F3-586FC59DD5FE}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{E55F342F-1F18-4AA4-81F3-586FC59DD5FE}
- UpgradeCode
- {A6A9DD9C-0732-44BA-9279-FFE22EA50671}
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-podman-cli.ps1
$url = 'https://github.com/podman-container-tools/podman/releases/download/v6.1.4/podman-installer-windows-amd64.msi'
$sha256 = '4A05240054CB990629CBE098DB090C5C7848C44162C11910CABB45CA75A40D53'
$file = Join-Path $env:TEMP 'podman-installer-windows-amd64.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait install-podman-cli.ps1
$url = 'https://github.com/podman-container-tools/podman/releases/download/v6.1.4/podman-installer-windows-arm64.msi'
$sha256 = 'A1B65FFA7DD60A5ECEEDD3DF7FC5D1D005B8D21018FF9DEAA15AEACFBC92CD6C'
$file = Join-Path $env:TEMP 'podman-installer-windows-arm64.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait