Latest / AI & agents

llm2sh

github.com · Open source · Maintained

Turns plain-language requests into shell commands using LLMs

Visit github.com ↗Share

  • natural language shell
  • llm shell commands
  • english to bash
  • ai terminal assistant
  • llm cli python
Stars
196
Forks
4
Open issues
0
Last commit
Found
2 years ago

GitHub figures as of . They are context, not a ranking.

llm2sh is a Python command-line tool that translates plain-language requests into shell commands and can run multi-command sequences. It supports several LLM providers, and its maker suggests a fast hosted model for everyday use with a larger model for harder tasks.

Repository description on GitHub: “Ask GPT to run a command”

What it does

  • Turns plain-language requests into shell commands
  • Runs multi-command sequences generated by the LLM
  • Supports OpenAI, Claude, Groq, Cerebras, OpenRouter and Gemini
  • Optional YOLO mode runs commands without asking for confirmation

Good for

  • Ask for a multi-step shell task in plain English
  • Pick a provider and model in the config file for daily shell use

Suits: Command-line users who want shell help from plain English.

Worth knowing: Hosted providers such as OpenAI, Claude and Groq need an API key.

What you can try

Read the README on GitHub and install from source.

Install

pip install llm2sh

Confirmed against the package registry. Read the project’s own instructions before running anything.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw llm2sh on , when RandomBK posted it to Show HN. GitHub listed no published releases for randombk/llm2sh when checked , so the project may ship straight from its main branch. The repository was created .

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 67 points, 21 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 67 points, 21 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: randombk/llm2sh
  2. Found: RandomBK posted it to Show HN. Show HN
  3. Day-7 check recorded by Kip (details)
  4. Day-30 check recorded by Kip (details)

Quick answers

When was llm2sh released?
No dated release record is available. Kip found it on Show HN on 18 Jul 2024.
Is llm2sh open source?
Its source is public on GitHub at randombk/llm2sh under the GPL-3.0 licence.
What does llm2sh run on?
Command line.
Is llm2sh free?
It is open source, so the code is free to read and run; check the licence for terms.
Is llm2sh still maintained?
It had a commit or release in the last year, though not in the last 90 days, as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositoryrandombk/llm2sh
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-40991661. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.

Share

Similar tools

More in AI & agents

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.