All apps/Trino CLI

Trino CLI

trino

Distributed SQL query engine command-line client.

Runs as trino|macOS, Linux|trino.io

Command form

ai-draft · 2 tasks · 9 fields

Connect to a Trino coordinator and run a statement or a file non-interactively, or open the interactive shell. Authentication, TLS and Kerberos options are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui trino
Run a Trino queryExample values, fixed in this page — nothing here reaches a terminal
Basic
Server
url
Catalog
string
Schema
string
Statement to run*
string
Advanced
Output format
string
TasksEach one presets the form for one job
Run one statement
servercatalogschemaexecuteoutput_format
Run a SQL file
servercatalogschemafileoutput_formatignore_errors
ParametersOnly these flags are editable in the form
Server
Coordinator address; defaults to http://localhost:8080.
url
--server
Catalog
string
--catalog
Schema
Needs a catalog.
string
--schema
User
string
--user
Statement to run
string
--execute
SQL file
path
--file-f
Output format
Defaults to CSV in batch mode.
string
--output-formatCSVJSONALIGNED
Continue on errors
boolean
--ignore-errors
Debug output
boolean
--debug
SourcesEvery flag above is checked against these
docs
--catalog Sets the default catalog. --schema Sets the default schema. Must be combined with --catalog. --server The HTTP/HTTPS address and port of the Trino coordinator. --user Sets the username for Username and password authentication. --session Sets one or more session properties. --timezone Sets the time zone for the session using the time zone name. --de…
manual2026-10-27

trino.io

Before it fills your prompt, Otty checks the installed trino against its version. A form that does not match your version is not offered.