hey-shell

Your words.Shell commands.

Type what you need. Press your shortcut.
Review the command. Hit Enter when ready.

Install hey-shell →
bash · zsh · fishLinux · WSL2 · macOS

Works with Claude Code, Codex CLI or Gemini CLI

01

Ask naturally

Describe what you need in plain language at your shell prompt.

02

Use your shortcut

Ctrl+G by default. Choose your key during installation.

03

Review & run

The risk and a failure check show under the command. Read or edit it, then press Enter. Nothing runs automatically.

See it work

Six everyday requests, with what hey-shell actually returned.

Real output with the default agent (Claude Code, Haiku model). bash, zsh and fish work the same way, and so do Codex CLI and Gemini CLI; answers vary by agent and model. Nothing runs until you press Enter.

When you need more

None of this is needed for the main flow. It is there when a command is not quite right, or fails.

Choose your agent

hey-shell asks the AI agent CLI you already use and are logged in to, and never runs what comes back. Agents can use their own tools while they answer, so here is exactly what hey-shell restricts for each:

$ ~/hey-shell/install.sh --agent codex

Your terminal. Your shortcut.

~/hey-shell/install.sh --key alt+o

Install

One line. It downloads the newest release and asks for your key and short aliases. Then open a new terminal.

ONE LINE · COPY AND PASTE
$ curl -fsSL https://hey-shell.com/install | bash
OTHER AGENTS

Codex or Gemini

Add bash -s -- --agent codex (or gemini) to use those instead of Claude Code.

READ IT FIRST

Install by hand

The script is about 60 lines, or install by hand: git clone https://github.com/alparslanpolat/hey-shell ~/hey-shell && ~/hey-shell/install.sh

THEN TRY

Your first command

hse how to free up disk space for the command with an explanation, or hsc "<command>" to check one before you run it.

Generated commands are only placed on your prompt, never executed. Always read them before pressing Enter.