Commands for installing React Native Debugger 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 jhen0409.ReactNativeDebugger -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id jhen0409.ReactNativeDebugger -e --silentwinget uninstall --id jhen0409.ReactNativeDebugger -e --silentBy installer
64-bit · EXE · Current user
Silent install
react_native_debugger-0.14.0-setup.exe --silent- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\react_native_debugger
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-react-native-debugger.ps1
$url = 'https://github.com/jhen0409/react-native-debugger/releases/download/v0.14.0/react_native_debugger-0.14.0-setup.exe'
$sha256 = '17EC49656E671D6BE7DB34ED279440B00114DDC5D7C3AD54A54159160C6F7513'
$file = Join-Path $env:TEMP 'react_native_debugger-0.14.0-setup.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 '--silent' -Wait