The open-termkit binary includes a Cobra command-line interface.
| Flag | Type | Description |
|---|---|---|
--db |
string |
Custom path to SQLite database (default: ~/.open-termkit/open-termkit.db) |
-h, --help |
bool |
Help for open-termkit |
Starts the local web server, API, and WebSocket handler.
open-termkit serve [flags]Flags:
--host string: Host interface to bind (default:"127.0.0.1")--port int: Port to bind (default:8765, use0for an auto-assigned port)
Runs tool detection and creates preset terminal profiles for shells, tmux, and agents.
open-termkit setupPrints system diagnostics, paths, database metrics, and detected tools.
open-termkit doctorManage terminal profiles.
# List all profiles
open-termkit profile list
# Get profile by ID
open-termkit profile get <id>
# Create profile
open-termkit profile create --name "Zsh" --shell "/bin/zsh" --theme "monokai" --default
# Update profile
open-termkit profile update <id> --name "Renamed Shell"
# Delete profile
open-termkit profile delete <id>Manage SSH profiles and keys.
# List SSH profiles
open-termkit ssh list
# Create SSH profile
open-termkit ssh create --name "prod" --host "example.com" --user "ubuntu" --port 22
# Update SSH profile
open-termkit ssh update <id> --port 2222
# Delete SSH profile
open-termkit ssh delete <id>
# Import private key into managed store
open-termkit ssh import-key /path/to/key --name id_ed25519_prod
# Write managed config snippet
open-termkit ssh write-config --includeInspect and install developer and agent tools.
# List tools and detection status
open-termkit tools list
# Re-scan tool detection
open-termkit tools detect
# Install a tool
open-termkit tools install tmux --yesExport and import configuration bundles.
# Export bundle
open-termkit sync export --file backup.json
# Import bundle
open-termkit sync import --file backup.json