You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I built ccline — another take on AI shell integration, complementary to shell_gpt.
How it differs from sgpt: ccline does not add a new shell command. Instead, it repurposes the moment when you mistype or ask a question at the prompt:
command_not_found_handler is hijacked — so when you type a 2+ word question at the bash prompt (where no command exists), it automatically goes to the AI
The response renders as Markdown inline
Any suggested commands appear in a menu — selected commands run in the current shell (history, cd, export all work)
$ how do I list processes sorted by memory usage
ps aux --sort=-%mem | head -20
Commands found — ↑/↓ to choose, Enter to run:
❯ ps aux --sort=-%mem | head -20
Uses the claude CLI (preferred) or codex (auto-fallback). Easily configured with CCLINE_BACKEND.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! I built ccline — another take on AI shell integration, complementary to shell_gpt.
How it differs from sgpt: ccline does not add a new shell command. Instead, it repurposes the moment when you mistype or ask a question at the prompt:
command_not_found_handleris hijacked — so when you type a 2+ word question at the bash prompt (where no command exists), it automatically goes to the AIcd,exportall work)Uses the
claudeCLI (preferred) orcodex(auto-fallback). Easily configured withCCLINE_BACKEND.Install:
curl -fsSL https://raw.githubusercontent.com/jianshuo/ccline/v0.2.2/install.sh | bashGitHub: https://github.com/jianshuo/ccline | https://ccline.jianshuo.dev
Beta Was this translation helpful? Give feedback.
All reactions