# 使用 Homebrew 安装 trino

查看 trino 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:trino
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install trino
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:trino
- **软件包管理器:** Homebrew
- **版本:** 476
- **来源摘要:** Distributed SQL query engine for big data
- **主页:** <https://trino.io>
- **最后更新:** 2026-07-26T00:51:27+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- trino (别名)
- trino-server (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 476
## 项目历史与用法

Trino is a distributed SQL query engine for querying large datasets across heterogeneous data sources. In package-manager culture it is both a CLI/server package and a gateway into a large data-platform ecosystem of connectors, catalogs, JDBC clients, Docker images, and cluster configuration.

### 项目历史

The Trino project traces its technical ancestry to Presto, created at Facebook in 2012 by Dain Sundstrom, David Phillips, Martin Traverso, and Eric Hwang to support low-latency interactive analytics over Facebook's large Hadoop data warehouse. The Trino rebranding announcement says open source was a non-negotiable condition of the original project.

After several years of Presto community growth, the founders left Facebook in 2018 and formed an independent Presto Software Foundation in January 2019 to continue community-led development. The official Trino rebranding post says the project consolidated under that home and expanded its community, users, and contributors.

In December 2020, the PrestoSQL community announced it was rebranding as Trino after trademark conflict around the Presto name. Trino 351, released on January 3, 2021, was the first release to use the Trino name internally and externally.

### 采用历史

Trino's adoption was driven by organizations that wanted a single SQL access layer over many storage systems rather than a database tied to one engine. The official overview defines Trino as a distributed SQL query engine for data distributed across one or more heterogeneous data sources.

The 2021 migration guide shows the practical adoption surface: users' SQL and stored queries continued to work, while administrators and client maintainers had to account for the rename in CLI/JDBC headers, driver prefixes, Docker image names, RPM package names, installation directories, JMX names, and SPI packages.

The official 2021 growth post says the renamed project gained substantial visibility during its first year as Trino, including thousands of new GitHub stars, Slack members, merged pull requests, issues, and regular releases. That made the package-name transition from `presto` to `trino` a real operational concern for users and packagers.

### 使用方式

A Trino deployment is configured through files such as `etc/node.properties`, `etc/jvm.config`, `etc/config.properties`, and connector-specific catalog properties in `etc/catalog`. Catalog files define connectors that expose external data sources as SQL catalogs.

The Homebrew package exposes both `trino` and `trino-server`, matching Trino's dual identity as a client and a server. The CLI connects to a coordinator with options such as `--server`, `--user`, `--catalog`, `--schema`, and authentication/TLS flags; server operators use launcher commands such as `run`, `start`, `stop`, `restart`, and `status`.

### 为什么软件包爱好者会关心

Trino is package-nerd significant because its rename was not just branding; it changed executable names, Docker image names, RPM names, configuration directories, protocol headers, JDBC URLs, Java packages, and monitoring identifiers. Formulae and downstream integrations had to encode those choices cleanly.

It is also a heavyweight example of a package-manager entry that represents a distributed system rather than one binary. Installing Trino gives a local CLI/server entry point, but the real package surface spans connectors, catalog files, JVM configuration, TLS/authentication, client drivers, and cluster operations.

### 时间线

- 2012: Presto is created at Facebook for low-latency analytics over a large Hadoop data warehouse.
- 2018: The Presto creators leave Facebook to focus on an open, independent community.
- 2019: The Presto Software Foundation starts as an independent home for the project.
- 2020: PrestoSQL is rebranded as Trino.
- 2021: Trino 351 is released as the first version using the Trino name internally and externally.
- 2021: Migration guidance documents client, server, Docker, RPM, JDBC, JMX, connector, and SPI rename impacts.

### Related projects

- Related projects and surfaces include Presto/PrestoSQL, the Trino CLI, JDBC driver, Docker image `trinodb/trino`, Hive/Iceberg/Elasticsearch connectors, Trino Software Foundation, and the broad SQL-on-data-lake ecosystem.

### 来源

- <https://trino.io/blog/2020/12/27/announcing-trino.html>
- <https://trino.io/blog/2021/01/04/migrating-from-prestosql-to-trino.html>
- <https://trino.io/blog/2021/12/31/trino-2021-a-year-of-growth.html>
- <https://trino.io/docs/current/client/cli.html>
- <https://trino.io/docs/current/installation/deployment.html>
- <https://trino.io/docs/current/overview.html>
- <https://trino.io/docs/current/release/release-351.html>


## 安全说明

broad file, network, media, or database tool signal. formula declares a Homebrew service.

- **Geiger 风险:** orange / 中
- broad file, network, media, or database tool signal
- formula declares a Homebrew service


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: etc/node.properties, etc/jvm.config, etc/config.properties, etc/catalog/*.properties

## Combined YAML source

View the package source record on GitHub. [combined/trino.yml](https://github.com/mxcl/pkgdb/blob/main/combined/trino.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
