Commands for installing LinkCode 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 ArcBox.LinkCode -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ArcBox.LinkCode -e --silentwinget uninstall --id ArcBox.LinkCode -e --silentBy installer
64-bit · EXE (NSIS) · Current user
Silent install
LinkCode-0.30.0-x64.exe /SCustom folder
LinkCode-0.30.0-x64.exe /S /D=C:\Apps\linkcodeARM64 · EXE (NSIS) · Current user
Silent install
LinkCode-0.30.0-arm64.exe /SCustom folder
LinkCode-0.30.0-arm64.exe /S /D=C:\Apps\linkcodePowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-linkcode.ps1
$url = 'https://github.com/arcboxlabs/linkcode/releases/download/v0.30.0/LinkCode-0.30.0-x64.exe'
$sha256 = '4CA88CB35BE686FEB17383BF8D69F4C401472F98B0D9E2B10B5EB02A7A3B8A1C'
$file = Join-Path $env:TEMP 'LinkCode-0.30.0-x64.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-linkcode.ps1
$url = 'https://github.com/arcboxlabs/linkcode/releases/download/v0.30.0/LinkCode-0.30.0-arm64.exe'
$sha256 = 'ABE3655066C3FE899E99AD8357C5A7694A746F7E06F5655F9534471614050BD0'
$file = Join-Path $env:TEMP 'LinkCode-0.30.0-arm64.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