# AI Shell — Natural Language to Shell Commands > AI Shell converts natural language into shell commands using AI. 5.2K+ stars. 13+ languages, chat mode, custom endpoints. MIT. By Builder.io. ## Install Save as a script file and run: ## Quick Use ```bash # Install npm install -g @builder.io/ai-shell # Set API key ai config set OPENAI_KEY=sk-... # Convert natural language to commands ai "list all log files larger than 10MB" # Suggests: find . -name "*.log" -size +10M # [E]xecute, [R]evise, [C]ancel # Chat mode ai chat ``` --- ## Intro AI Shell is a CLI tool that converts natural language into shell commands using AI, inspired by GitHub Copilot X CLI. With 5,200+ GitHub stars and MIT license by Builder.io, it supports 13+ languages, interactive chat mode, silent mode for scripting, custom OpenAI API endpoints, and a visual config UI. Describe what you want in plain English, get executable commands with explanations. **Best for**: Developers who want natural language shell command generation **Works with**: Claude Code, OpenAI Codex, Cursor, Gemini CLI, Windsurf --- ## Key Features - Natural language to shell commands - 13+ language support - Interactive chat mode - Execute, revise, or cancel suggestions - Custom API endpoints - Silent mode for automation --- ### FAQ **Q: What is AI Shell?** A: Natural language to shell commands with 5.2K+ stars. 13+ languages, chat mode, by Builder.io. MIT. **Q: How do I install AI Shell?** A: npm install -g @builder.io/ai-shell. Then ai "your command description". --- ## Source & Thanks > Created by [Builder.io](https://github.com/BuilderIO). MIT. > [BuilderIO/ai-shell](https://github.com/BuilderIO/ai-shell) — 5,200+ GitHub stars --- Source: https://tokrepo.com/en/workflows/da61dedb-cb50-41f6-bb0c-72013a520bd6 Author: Script Depot