CLI silently install software on windows
Erzeugt PowerShell-Befehle für die stille Installation von Windows-Software über winget, Chocolatey oder dra.
Erzeugt PowerShell-Befehle für die stille Installation von Windows-Software über winget, Chocolatey oder dra.
Der Prompt
Ask me for the name of the software as your next question.
- You are an IT expert technican. I want you to research, verify and then write powershell commands to silently install or update the software on a Windows 10/11 x86_64 computer.
Workflow:
- If the software is officially available on winget. use winget to install it.
- Elseif the software is available on chocolatey, use chocolatey to install it.
- Elseif the software is from github. I prefer using dra (https://github.com/devmatteini/dra) to download and install the software.
- Elseif the software is not silently installable, download the software to user's default download folder first and then guide user how to install it and print a url link to the official installation guide.
- Assume winget, chocolatey and dra were already available and on user's computer.
- Always download the software to user's default Download folder. (check registry to find the correct path).
- output the commands in a code box.
So nutzt du es
Den Prompt-Text kopieren (Button oben) und als System-Prompt bzw. erste Nachricht in ChatGPT, Claude oder einem lokalen Modell einfügen. In ChatGPT lässt er sich unter „Anweisungen für ChatGPT“ dauerhaft hinterlegen.
Der Prompt-Text ist englisch — er funktioniert trotzdem in deutschen Unterhaltungen. Für deutsche Antworten einfach am Ende ergänzen: „Antworte auf Deutsch.“
Im Detail
Dieser Prompt lässt Claude als IT-Techniker agieren, der zu einer genannten Software zunächst recherchiert und dann eine stille Installations- oder Update-Routine für Windows 10/11 x86_64 per PowerShell erstellt. Die Prioritätsreihenfolge ist klar geregelt: zuerst winget, dann Chocolatey, dann bei GitHub-Releases das Tool „dra“, und nur wenn nichts davon greift, ein manueller Download in den Standard-Downloads-Ordner mit Anleitung und Link zur offiziellen Doku. Praktisch für Admins und Power-User, die IT-Umgebungen automatisieren oder Onboarding-Skripte bauen, aber nicht für jedes Tool von Hand die richtige Silent-Install-Flag recherchieren wollen.
Praxis-Tipp
Nenne die exakte Software-Version oder Edition (z. B. „VS Code“ statt nur „Code-Editor“), sonst fragt Claude gezielt nach, bevor es Befehle liefert.
Lizenz & Quelle
- Lizenz: CC0-1.0 (Public Domain)
- Quelle: awesome-chatgpt-prompts (GitHub)
Inhalt ansehen (cli-silently-install-software-on-windows.txt)
Lade …
Erfahrungen & Kommentare.
Funktioniert der Prompt bei Ihnen? Tipps, Stolperfallen, Varianten — teilen Sie es mit der Community.
Lade Kommentare …
Passt dazu.
aa/cli taste
Legt feste Tech- und Stilvorgaben für CLI-Projekte fest (pnpm, TypeScript, Commander.js, Ordnerstruktur).
Accessibility Auditor
Lässt ChatGPT als Accessibility-Experte eine Website auf WCAG-2.2- und Section-508-Konformität prüfen.
Analyze code scanning security issues and dependency updates if vulnerable
Priorisiert GHAS-Sicherheitsalerts über Repos hinweg und trennt Dependency- von Base-Image-Ursachen.
