{"by":"RandomBK","descendants":21,"id":40991661,"kids":[40994979,40992288,40992330,40995605,40995624,40992672,40994645,40995021,40992696,41006384,40993057],"score":67,"text":"This is my take on the common &quot;use llms to generate shell commands&quot; utility. Emphasis is placed on good CLI UX, simplicity, and flexibility.<p>`llm2sh` supports multiple LLM providers and lets LLMs generate multi-command sequences to handle complex tasks. There is also limited support for commands requiring `sudo` and other basic input.<p>I recommend using Groq llama3-70b for day-to-day use. The ultra-low latency is a game-changer - its near-instant responses helps `llm2sh` integrate seamlessly into day-to-day tasks without breaking you out of the &#x27;zone&#x27;. For more advanced tasks, swapping to smarter models is just a CLI option away.","time":1721264568,"title":"Show HN: Llm2sh – Translate plain-language requests into shell commands","type":"story","url":"https://github.com/randombk/llm2sh"}