Popular: Data updated October 27, 2026

Categories

Internet1,356
Communication321
Audio & video898
Graphics & design539
Office & productivity1,124
Developer tools3,134
AI tools529
Security & privacy385
System tools3,114
Games523
Education & science239
Network & IT284

aoc-cli silent install & uninstall

Advent of Code command-line tool. Read puzzle descriptions, download puzzle input, submit answers and check if they are correct, all from the comfort of your terminal.

Commands for installing aoc-cli 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 scarvalhojr.aoc-cli -e --silent --accept-package-agreements --accept-source-agreements
winget upgrade --id scarvalhojr.aoc-cli -e --silent
winget uninstall --id scarvalhojr.aoc-cli -e --silent

By installer

64-bit · MSI · en-US

Silent installmsiexec /i aoc-cli-0.12.0-x86_64.msi /qn /norestart
Write a logmsiexec /i aoc-cli-0.12.0-x86_64.msi /qn /norestart /l*v "%TEMP%\aoc-cli-install.log"
Uninstallmsiexec /x {BC82CDC9-BF2B-4660-8861-FFC3739FEA75} /qn /norestart
MSI product code
{BC82CDC9-BF2B-4660-8861-FFC3739FEA75}
Uninstall registry key
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{BC82CDC9-BF2B-4660-8861-FFC3739FEA75}

PowerShell: download, verify, install

Downloads the official file, checks its SHA256 and installs it silently.

install-aoc-cli.ps1
$url = 'https://github.com/scarvalhojr/aoc-cli/releases/download/0.12.0/aoc-cli-0.12.0-x86_64.msi'
$sha256 = '24587AC41EC50C1A671B518FBEC54F23D363F5E8D200BCF26D6E5A51421A6105'
$file = Join-Path $env:TEMP 'aoc-cli-0.12.0-x86_64.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait