Commands for installing texpaste 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 jonasmusall.texpaste -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id jonasmusall.texpaste -e --silentwinget uninstall --id jonasmusall.texpaste -e --silentBy installer
64-bit · EXE (NSIS)
Silent install
texpaste_1.2.0_win_setup.exe /SCustom folder
texpaste_1.2.0_win_setup.exe /S /D=C:\Apps\texpastePowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-texpaste.ps1
$url = 'https://github.com/jonasmusall/texpaste/releases/download/v1.2.0/texpaste_1.2.0_win_setup.exe'
$sha256 = '317BD57646881FBFC2F57B0B0ECD9A1F10C024ED1BC659932FE05515836EAAF9'
$file = Join-Path $env:TEMP 'texpaste_1.2.0_win_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