Skip to content

asksh

asksh is a standalone shell command assistant and control plane. Bind it to ? or Alt+? in your shell, run it non-interactively in pipes, execute runbooks, target remote hosts or containers, test risky commands in a dry-run sandbox, and run background or watch jobs through askshd.

Quickstart

Install asksh on macOS or Linux:

curl -fsSL https://setup.asksh.ai | sh

Restart your shell, then press ? at an empty prompt or Alt+? mid-buffer. You can also pass a prompt directly:

asksh "find files over 50MB modified this week"

The install script runs asksh setup to configure your LLM provider and model, and adds the shell hook to your startup file.

If you want to walk through each step in detail, start with Getting started. From there, Basic usage covers driving the TUI, and Config documents every configuration option.

Supported platforms

asksh supports zsh, bash (4.0+ for keybindings), and fish on macOS and Linux, with prebuilt archives also published for Windows. See Supported platforms for the full compatibility matrix.

Getting help

File issues on the asksh repository. When reporting a bug, pass -v or --verbose (or set ASKSH_LOG=1) and attach the log written to ~/.local/share/asksh/asksh.log.