Skip to main content
Run tamery --help for a summary, or tamery <command> --help for one command.

tamery login

Sign in. Opens the browser sign-in flow and saves the session locally. Times out after 5 minutes.
boolean
Sign in even if already authenticated (switch accounts). Alias: -f.
boolean
Don’t open the browser; print the URL instead. Useful over SSH.

tamery logout

Sign out and clear the local session.

tamery whoami

Show the signed-in user. Prints Not signed in. if there’s no session; an expired session is cleared automatically.

tamery query

Run SQL against a saved connection. Provide SQL inline or via --file. Output is a formatted table, or JSON with --json. Supports PostgreSQL, MySQL, MSSQL, and ClickHouse.
string
Connection ID or name. Required if you have more than one. Alias: -c.
string
Path to a .sql file to run instead of inline SQL. Alias: -f.
boolean
Output JSON instead of a table.
boolean
Print saved connections and exit.
Output includes execution time in milliseconds.

tamery proxy

Start a local proxy so the web app can reach databases that aren’t publicly accessible (localhost, private network, VPC). Credentials and traffic stay on your machine. Stop with Ctrl+C.
You only need the proxy for databases not reachable from the internet. Public cloud endpoints work without it.