Skip to main content
The Tamery CLI runs SQL against your saved connections, executes SQL files in scripts, and runs a local proxy so the web app can reach private databases.

Install

Requires Node.js 20+.
The CLI checks for updates and tells you when a newer version is available.

Authenticate

Opens the browser sign-in flow and saves your session locally. Over SSH or without a browser, use --no-open to print the URL instead:
The flow times out after 5 minutes. Check who you’re signed in as with tamery whoami.

Commands

login

Sign in via browser.

logout

Sign out and clear the session.

whoami

Show the signed-in user.

query

Run SQL inline or from a file.

proxy

Bridge the web app to private databases.

Proxy

The web app connects to databases from the browser. For a database on localhost, a private network, or behind a firewall, run a local proxy:
The web app routes queries through your machine — credentials and traffic stay local. Stop it with Ctrl+C. See the command reference for all flags and examples.