AI in the prompt
Describe a task to get a command. Use explain and fix, or start an agent that asks before every step. Works with OpenAI, Anthropic, or Ollama.
xsh for macOS
A native terminal app and a shell, built in Swift and Rust. Ask for a command in plain words, split panes, keep sessions alive, and keep your history encrypted.
A complete replacement for Terminal and iTerm, with a shell that knows what you mean.
Describe a task to get a command. Use explain and fix, or start an agent that asks before every step. Works with OpenAI, Anthropic, or Ollama.
Every command from the AI passes a safety check before it can run, and the agent stops after ten steps.
AppKit windows, native tabs, split panes, profiles, GPU drawing, find, and a global hotkey.
Sessions, windows, and splits like tmux. Detach, close the window, and attach again later.
History is stored in SQLite with XChaCha20-Poly1305 encryption. The key is in your Keychain. Search it with fuzzy Ctrl-R.
Plugins add aliases, prompt segments, and completions, and they can never run arbitrary code. Bundles are included for git, docker, npm, python, and more.
xsh is free. Builds have an ad hoc signature, so macOS needs one extra command the first time.
Get the latest .dmg and open it.
Drop xsh.app on the Applications folder in the window that opens.
Open Terminal and run this command. It removes the quarantine flag that macOS adds to downloads.
xattr -dr com.apple.quarantine /Applications/xsh.appLaunch it from Applications and press ⌘, for Settings. Updates install from inside the app.
Prefer to build it yourself? git clone https://github.com/its-ash/xsh && cd xsh && make build