Transform natural language into terminal commands with AI-powered translation and built-in safety features.
Powerful features that make command-line work feel like magic.
Describe what you want in plain English. Magic Shell translates it to the right command for your shell.
Choose between OpenCode Zen (with free models!) and OpenRouter for access to the best AI models.
Every command is analyzed for risk before execution. Dangerous patterns are blocked automatically.
Full interactive terminal interface with 8 themes, command history, and keyboard shortcuts.
Opt-in context detection reads your package.json scripts, Makefile targets, and more. Say 'run dev' and it knows what to do.
Automatically detects bash, zsh, fish, PowerShell, and more. Commands adapt to your shell's syntax.
Checks for updates automatically and notifies you when a new version is available. Always stay current.
Choose the workflow that fits your style.
A full terminal interface with themes, history, model switching, and safety analysis. Perfect for exploration and extended sessions.
$ mshell
One-shot commands for fast translations. Pipe output, use in scripts,
or execute directly with -x.
$ msh "find large files" find . -type f -size +100M $ msh -x "show disk usage" -nEvery command is analyzed before execution. Dangerous patterns are blocked.
Worth reviewing before running
$ git checkout main Requires elevated privileges
$ sudo apt install Significant changes or data loss risk
$ rm -rf node_modules Blocked - could cause system damage
$ rm -rf /
Match your terminal aesthetic. Switch themes anytime with Ctrl+X T.
One command to install. Works on macOS, Linux, and Windows.
bun add -g @austinthesing/magic-shell npm install -g @austinthesing/magic-shell pnpm add -g @austinthesing/magic-shell Then run msh --setup to configure your API key, and mshell to launch the TUI.