Ordres per instal·lar GitHub Stars Manager 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 AmintaCCCP.GithubStarsManager -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id AmintaCCCP.GithubStarsManager -e --silentwinget uninstall --id AmintaCCCP.GithubStarsManager -e --silentPer instal·lador
64 bits · EXE (NSIS) · Usuari actual
Instal·lació silenciosa
GitHub.Stars.Manager.Setup.0.8.7.exe /SUna altra carpeta
GitHub.Stars.Manager.Setup.0.8.7.exe /S /D=C:\Apps\github-stars-manager- Clau de desinstal·lació al registre
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\4fe1d619-948d-532d-b616-2e6ae5243edd
64 bits · EXE (NSIS) · Tots els usuaris
Instal·lació silenciosa
GitHub.Stars.Manager.Setup.0.8.7.exe /SUna altra carpeta
GitHub.Stars.Manager.Setup.0.8.7.exe /S /D=C:\Apps\github-stars-manager- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\4fe1d619-948d-532d-b616-2e6ae5243edd
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-github-stars-manager.ps1
$url = 'https://github.com/AmintaCCCP/GithubStarsManager/releases/download/v0.8.7/GitHub.Stars.Manager.Setup.0.8.7.exe'
$sha256 = '5467F71C2D758B8D5EDB1C4D7DF60FCB752ABB88BAFC5123349336B0FEDD1794'
$file = Join-Path $env:TEMP 'GitHub.Stars.Manager.Setup.0.8.7.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-github-stars-manager.ps1
$url = 'https://github.com/AmintaCCCP/GithubStarsManager/releases/download/v0.8.7/GitHub.Stars.Manager.Setup.0.8.7.exe'
$sha256 = '5467F71C2D758B8D5EDB1C4D7DF60FCB752ABB88BAFC5123349336B0FEDD1794'
$file = Join-Path $env:TEMP 'GitHub.Stars.Manager.Setup.0.8.7.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