Commands for installing Replit 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 Replit.Replit -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Replit.Replit -e --silentwinget uninstall --id Replit.Replit -e --silentBy installer
32-bit · EXE · Current user
Silent install
windows /sPowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-replit.ps1
$url = 'https://desktop.replit.com/download/windows'
$sha256 = '371FFED88EE94EC8C81F32DD4D2CC13B7798F9B7637F1B497457D858A7919A98'
$file = Join-Path $env:TEMP 'windows'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/s' -Wait