Scripts2026年4月1日·1 分钟阅读

ShellGPT — AI Assistant in Your Terminal

ShellGPT generates shell commands, code, and docs from natural language in your terminal. 11.9K+ stars. Chat, REPL, local models. MIT.

介绍

ShellGPT is a command-line AI tool that generates shell commands, code, and documentation from natural language. With 11,900+ GitHub stars and MIT license, it works with any OS/shell (Bash, Zsh, PowerShell), features chat mode, REPL mode, shell integration with Ctrl+L hotkey, function calling, custom roles, caching, and local models via Ollama.

Best for: Developers wanting AI-powered terminal productivity Works with: Claude Code, OpenAI Codex, Cursor, Gemini CLI, Windsurf


Key Features

  • Shell command generation from natural language
  • Code generation and explanation
  • Chat and REPL modes
  • Shell integration (Ctrl+L)
  • Local models via Ollama

FAQ

Q: What is ShellGPT? A: Terminal AI assistant with 11.9K+ stars. Generate commands, code, docs. Chat, REPL, Ollama. MIT.

Q: How do I install ShellGPT? A: pip install shell-gpt. Then sgpt "your question".


🙏

来源与感谢

TheR1D/shell_gpt — 11,900+ GitHub stars

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产