Commands for installing Rebased 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 detachhead.rebased -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id detachhead.rebased -e --silentwinget uninstall --id detachhead.rebased -e --silentBy installer
64-bit · EXE (NSIS) · All users · en-US
Silent install
rebased.exe /SCustom folder
rebased.exe /S /D=C:\Apps\rebased- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Rebased 1.1.22
- Install folder
- %ProgramFiles%\detachhead\Rebased
- DisplayVersion
- 1.1.22
ARM64 · EXE (NSIS) · All users · en-US
Silent install
rebased-aarch64.exe /SCustom folder
rebased-aarch64.exe /S /D=C:\Apps\rebased- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Rebased 1.1.22
- Install folder
- %ProgramFiles%\detachhead\Rebased
- DisplayVersion
- 1.1.22
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-rebased.ps1
$url = 'https://github.com/DetachHead/rebased/releases/download/1.1.22/rebased.exe'
$sha256 = '05B9F87F577F313B58BD663A709BA4AAA179F8947648936513FF17B8B02FFE31'
$file = Join-Path $env:TEMP 'rebased.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 '/S' -Wait install-rebased.ps1
$url = 'https://github.com/DetachHead/rebased/releases/download/1.1.22/rebased-aarch64.exe'
$sha256 = '22BBA20833AE48570CDF8197C24B9293ACA95933EB8FD300C867B3A9A85FEF26'
$file = Join-Path $env:TEMP 'rebased-aarch64.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 '/S' -Wait