Commands for installing Python 3.13 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 Python.Python.3.13 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Python.Python.3.13 -e --silentwinget uninstall --id Python.Python.3.13 -e --silentBy installer
64-bit · EXE (WiX Burn) · Current user
Silent install
python-3.13.15-amd64.exe /quiet /norestartUninstall
msiexec /x {BDDA61AA-57D0-45C8-AE92-FA67D560E32F} /qn /norestart- MSI product code
- {bdda61aa-57d0-45c8-ae92-fa67d560e32f}
- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{bdda61aa-57d0-45c8-ae92-fa67d560e32f}
- UpgradeCode
- {F96F59BD-3E48-5E4E-B1A4-6CAFADEFEAE8}
- DisplayVersion
- 3.13.15150.0
64-bit · EXE (WiX Burn) · All users
Silent install
python-3.13.15-amd64.exe /quiet /norestartUninstall
msiexec /x {BDDA61AA-57D0-45C8-AE92-FA67D560E32F} /qn /norestart- MSI product code
- {bdda61aa-57d0-45c8-ae92-fa67d560e32f}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{bdda61aa-57d0-45c8-ae92-fa67d560e32f}
- UpgradeCode
- {F96F59BD-3E48-5E4E-B1A4-6CAFADEFEAE8}
- DisplayVersion
- 3.13.15150.0
ARM64 · EXE (WiX Burn) · Current user
Silent install
python-3.13.15-arm64.exe /quiet /norestartUninstall
msiexec /x {AC652937-7F4F-4B3F-AB94-AD91BA318F1A} /qn /norestart- MSI product code
- {ac652937-7f4f-4b3f-ab94-ad91ba318f1a}
- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{ac652937-7f4f-4b3f-ab94-ad91ba318f1a}
- UpgradeCode
- {303A4F18-F0C9-5E9F-8F29-42EA62697711}
- DisplayVersion
- 3.13.15150.0
ARM64 · EXE (WiX Burn) · All users
Silent install
python-3.13.15-arm64.exe /quiet /norestartUninstall
msiexec /x {AC652937-7F4F-4B3F-AB94-AD91BA318F1A} /qn /norestart- MSI product code
- {ac652937-7f4f-4b3f-ab94-ad91ba318f1a}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{ac652937-7f4f-4b3f-ab94-ad91ba318f1a}
- UpgradeCode
- {303A4F18-F0C9-5E9F-8F29-42EA62697711}
- DisplayVersion
- 3.13.15150.0
32-bit · EXE (WiX Burn) · Current user
Silent install
python-3.13.15.exe /quiet /norestartUninstall
msiexec /x {2145B92E-336E-4965-A518-CEFC517F0DA8} /qn /norestart- MSI product code
- {2145b92e-336e-4965-a518-cefc517f0da8}
- Uninstall registry key
- HKCU\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{2145b92e-336e-4965-a518-cefc517f0da8}
- UpgradeCode
- {D931076A-D223-5314-A7DC-5C755C936363}
- DisplayVersion
- 3.13.15150.0
32-bit · EXE (WiX Burn) · All users
Silent install
python-3.13.15.exe /quiet /norestartUninstall
msiexec /x {2145B92E-336E-4965-A518-CEFC517F0DA8} /qn /norestart- MSI product code
- {2145b92e-336e-4965-a518-cefc517f0da8}
- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{2145b92e-336e-4965-a518-cefc517f0da8}
- UpgradeCode
- {D931076A-D223-5314-A7DC-5C755C936363}
- DisplayVersion
- 3.13.15150.0
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-python-3-13.ps1
$url = 'https://www.python.org/ftp/python/3.13.15/python-3.13.15-amd64.exe'
$sha256 = 'EDEC09C4853AEAE9AC36EFB8C9F95B6B8E2FEE65EEE56D9767A8B7C69C574403'
$file = Join-Path $env:TEMP 'python-3.13.15-amd64.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 '/quiet /norestart' -Wait install-python-3-13.ps1
$url = 'https://www.python.org/ftp/python/3.13.15/python-3.13.15-amd64.exe'
$sha256 = 'EDEC09C4853AEAE9AC36EFB8C9F95B6B8E2FEE65EEE56D9767A8B7C69C574403'
$file = Join-Path $env:TEMP 'python-3.13.15-amd64.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 '/quiet /norestart' -Wait install-python-3-13.ps1
$url = 'https://www.python.org/ftp/python/3.13.15/python-3.13.15-arm64.exe'
$sha256 = 'C252C676087C49E6B94E95A273536B78921C28A5FC9F86D15D25392328247249'
$file = Join-Path $env:TEMP 'python-3.13.15-arm64.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 '/quiet /norestart' -Wait install-python-3-13.ps1
$url = 'https://www.python.org/ftp/python/3.13.15/python-3.13.15-arm64.exe'
$sha256 = 'C252C676087C49E6B94E95A273536B78921C28A5FC9F86D15D25392328247249'
$file = Join-Path $env:TEMP 'python-3.13.15-arm64.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 '/quiet /norestart' -Wait install-python-3-13.ps1
$url = 'https://www.python.org/ftp/python/3.13.15/python-3.13.15.exe'
$sha256 = '741C07276EB2D57E7EE012D643F021C58CB38D11C5389BE46C15D41D1A10B447'
$file = Join-Path $env:TEMP 'python-3.13.15.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 '/quiet /norestart' -Wait install-python-3-13.ps1
$url = 'https://www.python.org/ftp/python/3.13.15/python-3.13.15.exe'
$sha256 = '741C07276EB2D57E7EE012D643F021C58CB38D11C5389BE46C15D41D1A10B447'
$file = Join-Path $env:TEMP 'python-3.13.15.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 '/quiet /norestart' -Wait