Ordres per instal·lar GitHub-Stars-AI-Tools 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 xingranya.GitHub-Stars-AI-Tools -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id xingranya.GitHub-Stars-AI-Tools -e --silentwinget uninstall --id xingranya.GitHub-Stars-AI-Tools -e --silentPer instal·lador
64 bits · EXE (NSIS) · Usuari actual
Instal·lació silenciosa
GitHub-Stars-AI-Tools_1.5.3_x64-setup.exe /SUna altra carpeta
GitHub-Stars-AI-Tools_1.5.3_x64-setup.exe /S /D=C:\Apps\github-stars-ai-tools- Clau de desinstal·lació al registre
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\GitHub-Stars-AI-Tools
- Carpeta d’instal·lació
- %LocalAppData%\GitHub-Stars-AI-Tools
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-github-stars-ai-tools.ps1
$url = 'https://github.com/xingranya/GitHub-Stars-AI-Tools/releases/download/v1.5.3/GitHub-Stars-AI-Tools_1.5.3_x64-setup.exe'
$sha256 = 'F1AAC7B0F9BADC4CC0EC30BFA17101C1352DC7E1FFBC0B4771C49E37C01D805E'
$file = Join-Path $env:TEMP 'GitHub-Stars-AI-Tools_1.5.3_x64-setup.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