Skip to content

Supported platforms

asksh ships prebuilt binaries for macOS, Linux, and Windows, and provides shell integration for zsh, bash, and fish.

Shells

Shell integration is generated by asksh init <shell>. Feature coverage varies by shell:

Shell ? and Alt+? keybindings Command telemetry (asksh record) Prompt badge (asksh prompt) Notes
zsh Yes Yes Yes Uses add-zsh-hook (preexec, precmd) and zsh/datetime
bash Bash 4.0+ Yes Yes Keybindings require BASH_VERSINFO[0] >= 4; telemetry uses DEBUG trap and PROMPT_COMMAND
fish Yes Yes Yes Skips inserting literal ? when fish_key_bindings is fish_vi_key_bindings or fish_hybrid_key_bindings

See Shell integration for setup details and hook behavior.

Operating systems and architectures

Official releases on GitHub Releases provide binaries for these targets:

OS Architecture Archive format Installer script (install.sh) Notes
macOS arm64 .tar.gz Supported Default for Apple Silicon and Rosetta
macOS amd64 .tar.gz Supported Automatically selects arm64 if running under Rosetta
Linux arm64 .tar.gz Supported Uses bwrap for OS dry-run sandboxing when installed
Linux amd64 .tar.gz Supported Uses bwrap for OS dry-run sandboxing when installed
Windows arm64 .zip Not supported Download .zip manually from GitHub Releases; MINGW/MSYS/CYGWIN are rejected by install.sh
Windows amd64 .zip Not supported Download .zip manually from GitHub Releases

Dry-run sandbox backends

The ephemeral sandbox used by asksh dry-run and the TUI s key selects its backend by operating system:

OS Backend (SandboxKind) Confinement Fallback condition
macOS seatbelt (sandbox-exec) Denies network and writes outside the temp directory and /dev/null Falls back to tempdir if sandbox-exec is missing or nested sandbox_apply fails with EPERM
Linux bwrap (Bubblewrap) Unshares network and binds /usr, /bin, /lib* read-only Falls back to tempdir if bwrap is missing or fails with permission errors
Other / disabled tempdir Copies workspace to an isolated temp directory without OS write or network confinement Marked Degraded: true in output