Popularne: Dane zaktualizowano: 9 listopada 2026

Kategorie

Internet1378
Komunikacja323
Audio i wideo914
Grafika i projektowanie552
Biuro i produktywność1137
Narzędzia programistyczne3178
Narzędzia AI555
Bezpieczeństwo i prywatność396
Narzędzia systemowe3169
Gry532
Edukacja i nauka240
Sieć i IT291

aoc-cli – cicha instalacja i odinstalowanie

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.

Polecenia do instalacji programu aoc-cli bez pytań, do jego usuwania i do wykrywania w narzędziach wdrożeniowych. Polecenie jest podane tylko wtedy, gdy jest pewne: pochodzi z manifestu albo z udokumentowanych ustawień domyślnych technologii instalatora.

Powiązany poradnik: Parametry cichej instalacji: MSI, NSIS, Inno Setup · Odinstalowanie programu przez rejestr lub PowerShell

Przez 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

Według instalatora

64-bit · MSI · en-US

Cicha instalacjamsiexec /i aoc-cli-0.12.0-x86_64.msi /qn /norestart
Zapis dziennikamsiexec /i aoc-cli-0.12.0-x86_64.msi /qn /norestart /l*v "%TEMP%\aoc-cli-install.log"
Odinstalowaniemsiexec /x {BC82CDC9-BF2B-4660-8861-FFC3739FEA75} /qn /norestart
Kod produktu MSI
{BC82CDC9-BF2B-4660-8861-FFC3739FEA75}
Klucz odinstalowania w rejestrze
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{BC82CDC9-BF2B-4660-8861-FFC3739FEA75}

PowerShell: pobierz, zweryfikuj, zainstaluj

Pobiera oficjalny plik, sprawdza jego SHA256 i instaluje go po cichu.

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

Udostępnij