{
 "schema_version": 1,
 "generated": "2026-11-09",
 "id": "ther1d-shell-gpt--turn-plain-english-into-shell-commands",
 "repo": "TheR1D/shell_gpt",
 "repo_url": "https://github.com/TheR1D/shell_gpt",
 "repo_slug": "ther1d-shell-gpt",
 "title": "Turn plain English into shell commands you can run",
 "page_title": "How to turn plain English into shell commands you can run with Shell GPT",
 "summary": "Ask sgpt --shell for a command, then execute, describe or abort it with one key.",
 "who": "Anyone who forgets find, ffmpeg or docker flags and is tired of searching for them.",
 "problem": "Looking up command syntax breaks your flow and leads to copy-pasting commands you do not understand.",
 "outcome": "A command tailored to your OS and shell, shown before it runs so you can check it.",
 "steps": [
  "Run `pip install shell-gpt` and enter your OpenAI API key when prompted",
  "Ask for a command: `sgpt --shell \"find all json files in current folder\"`",
  "Choose [E]xecute, [D]escribe or [A]bort; use Describe when you are not sure what it does",
  "Install the hotkey with `sgpt --install-integration` and restart your terminal, then press Ctrl+l to turn your input line into a command",
  "Use `--no-interaction` to print the command without running it, for example to pipe it to the clipboard"
 ],
 "agent_prompt": "Install TheR1D/shell_gpt, set up the shell integration for my <bash or zsh>, and show me three examples of sgpt --shell for tasks I do often: <tasks>. Always choose Describe before Execute.",
 "agents": [
  "any"
 ],
 "difficulty": "Beginner",
 "time": "10 minutes",
 "basis": "readme",
 "caveat": "Generated commands can be wrong or destructive, so read each one before choosing Execute, especially anything with sudo.",
 "category": "Personal productivity",
 "tags": [
  "Personal productivity"
 ],
 "lang": "python",
 "requirements": [
  "Python and pip",
  "An OpenAI API key, stored in ~/.config/shell_gpt/.sgptrc on first run, or a local backend such as Ollama",
  "Linux, macOS or Windows with Bash, Zsh, PowerShell or CMD"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "Your OpenAI API key is saved in ~/.config/shell_gpt/.sgptrc, and every prompt is a paid API call."
  }
 ],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/ther1d-shell-gpt/turn-plain-english-into-shell-commands/",
 "md": "https://dedupedai.com/use-cases/ther1d-shell-gpt/turn-plain-english-into-shell-commands/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/ther1d-shell-gpt--turn-plain-english-into-shell-commands.json",
 "api_version": "v1"
}
