Befehle, um GraphQL Playground ohne Rückfragen zu installieren, wieder zu entfernen und in Verteilungswerkzeugen zu erkennen. Ein Befehl erscheint nur, wenn er feststeht: aus dem Manifest oder als dokumentierter Standard der jeweiligen Installer-Technik.
Passende Anleitung: Silent-Install-Parameter: MSI, NSIS, Inno Setup · Programm über Registry oder PowerShell deinstallieren
Mit winget
PowerShell
winget install --id Graphcool.GraphQLPlayground -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Graphcool.GraphQLPlayground -e --silentwinget uninstall --id Graphcool.GraphQLPlayground -e --silentNach Installer
64-Bit · EXE (NSIS) · en-US
Stille Installation
graphql-playground-electron-setup-1.8.10.exe /SEigener Ordner
graphql-playground-electron-setup-1.8.10.exe /S /D=C:\Apps\graphql-playgroundPowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-graphql-playground.ps1
$url = 'https://github.com/graphql/graphql-playground/releases/download/v1.8.10/graphql-playground-electron-setup-1.8.10.exe'
$sha256 = '52E6525F43C6F5679FD147EF346A84C7D4643106966E4B0EF6173E304CCAC008'
$file = Join-Path $env:TEMP 'graphql-playground-electron-setup-1.8.10.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