AI CLI Tools
Shell-GPT Commands
Shell-GPT (sgpt) brings ChatGPT capabilities to your command line. Generate shell commands, write code, and get AI assistance without leaving the terminal.
8 commands
Pro Tips
Use 'sgpt --shell "task description"' to generate shell commands from natural language.
Use 'sgpt --code "description"' for code generation with syntax highlighting.
Create custom roles with 'sgpt --create-role' for specialized assistants (e.g., 'sgpt --role devops').
Common Mistakes
Shell-GPT can execute commands directly with --execute. Use with caution on production systems.
Conversation history is stored locally. Be mindful of sensitive information in prompts.