# 1. Download & run (single file, zero deps)
$ curl -L https://raw.githubusercontent.com/edsuwarna/opsterm/main/bin/opsterm -o ~/.local/bin/opsterm
$ chmod +x ~/.local/bin/opsterm
$ opsterm init
# 2. Add your AI provider
$ opsterm provider add default --api-key 'sk-...' --model gpt-4o
$ opsterm --help
Ask anything — commands, explanations, scripts. Works with any OpenAI-compatible provider.
SSH without IPs. Fuzzy matching, multi-hop via --via, YAML config.
Multi-step YAML automation: SSH → SCP → Local commands, all in one file.
AES-128 + PBKDF2 encrypted credential store. Zero external deps.
cmd | opsterm "analyze this" — explain output, detect errors, get insights.
Bash + Zsh auto-complete for servers, workflows, and subcommands.
Upload/download files via server name: opsterm scp file.txt server:/path
SQLite-backed history. Revisit, explain, or re-run past commands.
Auto-compress command output 60-95% with RTK before AI. Zero config — if installed, it just works.
~/.opsterm/~/.ai-workflows