AI-Powered Terminal Assistant
Type what you want to do in plain English, hit Ctrl+G, and watch your terminal instantly write the exact shell command for you.
~ ❯ find all giant videos in my downloads folder
# Press Ctrl+G...
~ ❯ find ~/Downloads -type f -size +1G
~ ❯ undo my last git commit but keep the files
# Press Ctrl+G...
~ ❯ git reset --soft HEAD~1
Docs & Usage
1. Configuring AI Providers
kbind supports Anthropic, OpenAI, OpenRouter, Gemini, and Ollama (local).
kb config set-model openrouter google/gemma-7b-it:free
kb config set-key openrouter
2. Hooking into your Shell
Run this once to permanently inject the Ctrl+G keybinding into your shell profile.
kb install-shell zsh
3. Manual CLI Usage
You can also use kbind as a normal CLI tool to generate commands without the keybinding.
kb gen "find all empty folders"
Pro tip: Add the -e flag for a plain-English explanation of the generated command!
kb gen -e "find all empty folders"
4. Checking Config
See what model you are currently using.
kb config show
Install / Uninstall
Installation
macOS & Linux
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/zpeteman/kbind/releases/latest/download/kbind-installer.sh | sh
Windows
irm https://github.com/zpeteman/kbind/releases/latest/download/kbind-installer.ps1 | iex
Uninstallation
Safely uninstall and scrub the app from your system using our universal uninstall command across all OSs:
kb uninstall