
Learn the language of terminal using cmdo.
Generate and understand shell commands using natural language. cmdo works locally with your API key, or use our hosted model to get started — no backend calls, open source always.
Everything You Need to Master the Command Line
cmdo helps you write, understand, and improve CLI commands — no man pages required.
Generate shell commands instantly
Describe a task in plain English — cmdo converts it into precise, ready-to-run shell commands.
Break down commands to understand them
Get a clear explanation of each part of a shell command, including flags, arguments, and paths.
Improve broken or unsafe commands
Detects mistakes and suggests safer, correct alternatives with explanations.
Understand error messages clearly
Explains what an error means, why it happened, and how to fix it — in plain language.
Convert commands across shells
Automatically translates commands to work in bash, zsh, fish, PowerShell, and more.
Learn commands with real-world examples
Teaches CLI tools through hands-on examples, complete with syntax, flags, and usage notes.
Suggest safer command alternatives
Recommends better tools, syntax, or methods to improve efficiency and reduce risk.
Study different commands
Learn to use a command and its use cases.
Fix broken commands
Fixes and gives correct alternative commands.
Bring your own AI
cmdo uses an LLM to understand and generate commands. You can bring your own key from:
- OpenAI
- Groq
- Gemini
- More coming soon
Self-hosting or custom integration? You're covered.
Install with one line
npm install -g @prattiikk/cmdo
No setup, no config. Just one line and you're ready.
Trusted by developers
⭐ 1.2k GitHub stars and counting
"cmdo saved me so much time fixing broken grep commands." — @you
Open-source. Built by developers like you.
cmdo is open-source and actively maintained. If you love the terminal, Linux, or AI tooling — we'd love your help.
Contribute new features, improve existing ones, or add support for more LLMs. Let's grow this together into the go-to AI CLI companion.
↗ GitHub RepositoryIf you like this project, give it a ⭐ on GitHub. It helps others discover it and encourages future contributions.