Skip to Content
DocumentationShell Command Generator

Shell Command Generator

Convert natural language to shell commands using AI and optionally execute them.

Quick Start

neovate run "list all files in current directory"

This opens interactive mode where you can review the generated command and choose an action.

For immediate execution:

neovate run --yes "create a backup of config.json"

Features

  • Natural language conversion - Describe what you want in plain English, get the exact shell command
  • Interactive action selector - Execute, copy, edit, or regenerate before running
  • Command editing - Modify the generated command before execution
  • Prompt editing - Refine your description to regenerate a better command
  • Auto-execution - Skip confirmation with --yes flag

Options

FlagDescription
-m, --model <model>Specify model to use
--yesExecute the command without confirmation
-h, --helpShow help

Interactive Actions

When a command is generated, you can choose from these actions:

ActionDescription
Execute commandRun the generated command immediately
Copy to clipboardCopy the command for use elsewhere
Edit commandModify the command before executing
Edit prompt & regenerateRefine your description and generate a new command
CancelExit without executing

Use arrow keys to navigate and Enter to select. Press Esc to cancel at any time.

Examples

List files modified in the last 7 days:

neovate run "find all files modified in last 7 days"

Search for a pattern in code:

neovate run "search for TODO comments in all JavaScript files"

Execute without confirmation:

neovate run --yes "show disk usage"

Use a specific model:

neovate run -m claude-sonnet "compress all images in current directory"

Configuration

You can set a default model in your settings:

{ "smallModel": "claude-haiku" }

The run command uses smallModel by default for faster responses. See Settings for more configuration options.

Last updated on