Install latest/stable of aicmd
Ubuntu 16.04 or later?
Make sure snap support is enabled in your Desktop store.
You are about to open
Do you wish to proceed?
Thank you for your report. Information you provided will help us investigate further.
There was an error while sending your report. Please try again later.
Generate an embeddable card to be shared on external websites.
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
sudo snap install aicmdsnap set aicmd endpoint=<your_endpoint> api-key=<your_api_key> model=<your_model>
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
Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.