TUI & CLI (sc)
The sc command brings Schooner into your terminal workflow. Use the interactive TUI picker or pass arguments for scripting and quick connections.
Installation
On first launch, Schooner offers to install the sc binary at /usr/local/bin/sc. You can also install or reinstall it any time from Settings → General → Command Line Tool → Install.
Interactive TUI picker
sc
Running sc with no arguments opens the interactive TUI picker. Your hosts are listed sorted by frecency (most recently and frequently used first). Use the keyboard to navigate:
- ↑ / ↓ — move selection
- Type anything — live fuzzy filter across alias, nickname, hostname, tags
- Enter — connect to the selected host in the current terminal
- Esc or Ctrl-C — quit without connecting
Design note: sc with no arguments intentionally does not connect directly. The picker gives you a visual confirmation step — preventing accidental connections to the wrong environment.
Direct connection
sc <alias>
If you know the alias, pass it directly to skip the picker and connect immediately:
sc myserver
File transfer
sc cp <src> <dst>
Transfer files between local and remote endpoints. Endpoints are specified as local:/path or alias:/path:
# Upload a local file to a remote server
sc cp local:/tmp/report.pdf prod-server:/home/deploy/
# Download a remote directory
sc cp prod-server:/var/log/app local:/tmp/logs/
# Server-to-server direct transfer (Pro)
sc cp server-a:/data/backup server-b:/backups/
Progress is printed to stdout as JSON-lines events. The transfer supports resume (--resume flag).
Other subcommands
sc list # Print all hosts as a table
sc list --json # Output hosts as JSON
sc open # Bring the Schooner GUI to the foreground
Shell completion
Generate completion scripts for your shell:
# zsh
sc completion zsh > ~/.zsh/completions/_sc
# bash
sc completion bash > /usr/local/etc/bash_completion.d/sc
# fish
sc completion fish > ~/.config/fish/completions/sc.fish