Drivers & Protocol
nyxsql CLI
The interactive terminal client — connect, run one-shot and streaming queries, and split panes.
nyxsql is the interactive terminal client. Full walkthrough in
Getting Started → CLI; this page is the quick
reference.
Connect
cd drivers/cli && npm install
npm start -- --host 127.0.0.1 --port 7777
# or after `npm link`:
nyxsql --host 127.0.0.1 --port 7777Query modes
SELECT …— one-shot; returns a result grid.SELECT STREAM …— live subscription; the grid updates in place as rows change.
Timing
3 rows · server 28µs · 2ms round-tripserver is measured server-side (prepare + execute); round-trip is client wall
time.
Keys
Enter run · Ctrl+N/Ctrl+X new/close pane · Tab/Shift+Tab focus ·
Ctrl+S split layout · Ctrl+O table/changelog · Ctrl+L clear · Ctrl+C stop
(twice within 2s to quit).