Commands for installing MonoCode 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 hardbeat920.MonoCode -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id hardbeat920.MonoCode -e --silentwinget uninstall --id hardbeat920.MonoCode -e --silentBy installer
64-bit · EXE (NSIS) · Current user
Silent install
MonoCode_0.16.0_x64-setup.exe /SCustom folder
MonoCode_0.16.0_x64-setup.exe /S /D=C:\Apps\monocode- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MonoCode
- Install folder
- %LocalAppData%\MonoCode
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-monocode.ps1
$url = 'https://github.com/hardbeat920/monocode/releases/download/v0.16.0/MonoCode_0.16.0_x64-setup.exe'
$sha256 = 'EB18656B2F69BA6E73A3C9BC0E3827702D2F4665035ECCDF70FA5E204376F682'
$file = Join-Path $env:TEMP 'MonoCode_0.16.0_x64-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 '/S' -Wait