Commands for installing LibrePCB 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 LibrePCB.LibrePCB -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id LibrePCB.LibrePCB -e --silentwinget uninstall --id LibrePCB.LibrePCB -e --silentBy installer
64-bit · EXE (Inno Setup) · All users
Silent install
librepcb-installer-2.1.1-windows-x86_64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
librepcb-installer-2.1.1-windows-x86_64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\librepcb"- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\librepcb_is1
- Install folder
- %ProgramFiles%\LibrePCB
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-librepcb.ps1
$url = 'https://download.librepcb.org/releases/2.1.1/librepcb-installer-2.1.1-windows-x86_64.exe'
$sha256 = '3FB0E9316D144C9AC52D7042C688C9B2C576856110916AADFCF443CEA29630AB'
$file = Join-Path $env:TEMP 'librepcb-installer-2.1.1-windows-x86_64.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait