Ordres per instal·lar Streamlink sense preguntes, desinstal·lar-lo i detectar-lo des d’eines de desplegament. Només es mostra una ordre quan és segura: la que indica el manifest o el valor per defecte documentat de la tecnologia de l’instal·lador.
Guia relacionada: Instal·lació silenciosa: MSI, NSIS, Inno Setup · Desinstal·lar un programa amb el registre o PowerShell
Amb winget
PowerShell
winget install --id Streamlink.Streamlink -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Streamlink.Streamlink -e --silentwinget uninstall --id Streamlink.Streamlink -e --silentPer instal·lador
64 bits · EXE (NSIS) · Usuari actual
Instal·lació silenciosa
streamlink-8.6.2-2-py314-x86_64.exe /SUna altra carpeta
streamlink-8.6.2-2-py314-x86_64.exe /S /D=C:\Apps\streamlink- Clau de desinstal·lació al registre
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Streamlink
- Carpeta d’instal·lació
- %ProgramFiles%\Streamlink
64 bits · EXE (NSIS) · Tots els usuaris
Instal·lació silenciosa
streamlink-8.6.2-2-py314-x86_64.exe /SUna altra carpeta
streamlink-8.6.2-2-py314-x86_64.exe /S /D=C:\Apps\streamlink- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Streamlink
- Carpeta d’instal·lació
- %ProgramFiles%\Streamlink
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-streamlink.ps1
$url = 'https://github.com/streamlink/windows-builds/releases/download/8.6.2-2/streamlink-8.6.2-2-py314-x86_64.exe'
$sha256 = '42DA326253BA53CDBFC080B4E143A37A33791D93C32B75BF2C7A0E9E6C105BCC'
$file = Join-Path $env:TEMP 'streamlink-8.6.2-2-py314-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 '/S' -Wait install-streamlink.ps1
$url = 'https://github.com/streamlink/windows-builds/releases/download/8.6.2-2/streamlink-8.6.2-2-py314-x86_64.exe'
$sha256 = '42DA326253BA53CDBFC080B4E143A37A33791D93C32B75BF2C7A0E9E6C105BCC'
$file = Join-Path $env:TEMP 'streamlink-8.6.2-2-py314-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 '/S' -Wait