Open source · MIT licensed · 400MB model

Your commands. Your machine. No cloud needed.

Translate plain English to shell commands with a 400MB model that runs locally. OS-aware. Private. Instant.

nl2shell
$nl ""
<200mslatency
3platforms
12,834training pairs
0data sent to cloud
how it works
1

Describe

Type what you want in plain English. "Find all large files", "kill port 3000", "install redis".

2

Translate

A fine-tuned 800M model converts your intent to the right command — aware of your OS and context.

3

Copy or Run

Copy the command to your terminal, or run it in our sandboxed environment to test safely.

features

Privacy First

Nothing leaves your machine. No telemetry, no cloud calls, no API keys required.

OS-Aware

Automatically detects macOS, Ubuntu, or Linux and generates the right command.

Sandboxed Execution

Test commands safely in an isolated Docker container before running on your system.

MCP Protocol

Add shell translation to Claude Code, Cursor, or any MCP-compatible AI agent.

Voice Input

Speak your intent. Browser speech recognition built in. Works in Chrome and Edge.

Open Source

MIT licensed. 800M parameter model. 12,834 training pairs. Community-driven.

translate

Press Enter to submit, Shift+Enter for newline

Voice input requires Chrome or Edge.

examples

📁Files & Search

Processes & Ports

🔀Git & DevOps

🖥System

for agents

Add shell translation to any AI agent

NL2Shell exposes an MCP (Model Context Protocol) endpoint. Claude Code, Cursor, Windsurf, and any MCP-compatible agent can use it as a tool — one JSON block in your config.

leshell_translate — natural language to shell command
leshell_execute — run in sandboxed container
leshell_explain — explain what a command does
mcp config
{
  "mcpServers": {
    "leshell": {
      "url": "https://nl2shell.com/api/mcp"
    }
  }
}