[{"data":1,"prerenderedAt":9},["ShallowReactive",2],{"post-\u002Fblog\u002Fcrush":3},{"path":4,"title":5,"description":6,"date":7,"rawbody":8},"\u002Fblog\u002Fcrush","Crush: AI in Your Terminal","Stop alt-tabbing for code help","2025-12-09","---\ntitle: 'Crush: AI in Your Terminal'\ndescription: 'Stop alt-tabbing for code help'\ndate: '2025-12-09'\n---\n\nWe spend our lives in the terminal, yet we keep alt-tabbing to a browser to ask an AI why our code is broken. It’s a context-switching nightmare.\n\nMost CLI AI tools are trash. They are glorified `curl` wrappers that dump unformatted text into your shell. You waste more time formatting the output than fixing the bug.\n\n> \"Glamorous software is a force multiplier.\"\n> — Charm\n\n`crush` is different. It’s a full-blown agent living in your TUI. It doesn't just guess; it talks to your LSP (Language Server Protocol) to understand the actual structure of your project.\n\nIt proposes changes, shows you a diff, and lets you apply them. No copy-pasting.\n\n### Why it works\n\n1.  **Model Agnostic:** Start with Claude, switch to GPT-4 mid-session. It keeps the context.\n2.  **Visuals:** Built on Bubble Tea. It looks better than your IDE.\n3.  **Diff View:** Review changes side-by-side before committing.\n\n### Get it\n\n```bash\nbrew install charmbracelet\u002Ftap\u002Fcrush\n```\n\nConfig your API key and stop leaving your terminal.\n",1783267423469]