ccline — type a thought at your Windows Terminal zsh/bash prompt, get an AI answer #20310
Closed
Jian Shuo Wang (jianshuo)
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hey Windows Terminal users!
I built ccline — a tiny shell hook that makes your terminal smarter when you type something that isn't a command.
You know how when you type something wrong or something that isn't a command, the shell just says "command not found"? ccline intercepts that and routes it to Claude (or Codex), prints an AI answer, and offers to run any shell commands it suggests — right there in your terminal.
Example:
It hooks into
command_not_found_handler(zsh) orcommand_not_found_handle(bash), so it feels completely native — your normal commands work exactly as before.Works great with Windows Terminal + WSL (zsh/bash). If you're already using Claude Code or Codex in your workflow, ccline gives you the same power directly at the shell prompt.
curl -fsSL https://raw.githubusercontent.com/jianshuo/ccline/main/install.sh | bashCurious whether people find this useful in WSL workflows!
All reactions