Version1.0
Revision1
Size23.8 MB
LicenseGPL-3.0
Confinementstrict
Basecore24
CategoriesUtilities

Describe a task in plain English, get a ready-to-run bash command


aicmd translates natural-language task descriptions into bash one-liners
using an AI model of your choice.

Press the configured key binding (default: Ctrl+G) at your shell prompt,
describe what you want to do, and the generated command lands directly in
your readline buffer — ready to review, edit, and run with Enter.

Supports any OpenAI-compatible endpoint (OpenAI, Azure OpenAI, Ollama,
GitHub Models, etc.).

Getting Started

1. Install the snap: sudo snap install aicmd
2. Configure your endpoint, API key, and model: snap set aicmd endpoint=<yourendpoint> api-key=<yourapikey> model=<yourmodel>

Shell Integration

Shell integration scripts for bash and zsh are included under
/snap/aicmd/current/Shell/. Source the one matching your shell to enable
the key binding (Ctrl+G):

# bash — add to ~/.bashrc
source /snap/aicmd/current/Shell/aicmd.bash


# zsh — add to ~/.zshrc
source /snap/aicmd/current/Shell/aicmd.zsh

Update History

1.0 (1)
14 May 2026, 23:00 UTC

Published14 May 2026, 23:00 UTC

Last updated14 May 2026, 22:58 UTC

First seen14 May 2026, 23:00 UTC