# 使用 Homebrew 安装 treefrog

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

## 安装

```sh
sudo av install brew:treefrog
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install treefrog
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:treefrog
- **软件包管理器:** Homebrew
- **版本:** 2.12.0
- **来源摘要:** High-speed C++ MVC Framework for Web Application
- **主页:** <https://www.treefrogframework.org/>
- **仓库:** <https://github.com/treefrogframework/treefrog-framework>
- **最后更新:** 2026-07-18T02:41:50Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- tadpole (别名)
- tmake (别名)
- treefrog (别名)
- tspawn (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

TreeFrog Framework is a C++/Qt full-stack MVC web application framework with command-line generators, an application server, ORM support, and templates.

### 项目历史

The official introduction describes TreeFrog as a lightweight, fast, full-stack web framework written in C++ with a convention-over-configuration policy intended to reduce development cost. It combines MVC structure, scaffolding, O/R mapping, templates, and Qt-based cross-platform support.

The GitHub README frames the project as a high-speed full-stack framework based on C++ and Qt, supporting HTTP and WebSocket protocols, ORM, ERB-like templates, JSON/XML/CBOR responses, and multiple databases including MySQL, PostgreSQL, SQLite, Oracle, DB2, MongoDB, Memcached, and Redis.

The project has a long-lived package profile: the website footer shows the TreeFrog Framework Project spanning 2010-2025, and the GitHub repository lists thousands of commits, many releases, and a 2025 2.11.2 release.

### 采用历史

TreeFrog is a niche framework compared with scripting-language MVC frameworks, but it is notable for bringing Rails-like generators and conventions into C++ web development. Its adoption is mostly among users who want a compiled C++ web stack with Qt integration.

For package managers, the important surface is the CLI toolchain: `tspawn` creates projects and scaffolds code, while `treefrog` runs and controls the application server. Homebrew packaging makes that workflow available without manually building the framework.

### 使用方式

The tutorial workflow creates an app with `tspawn new`, configures a database in `config/database.ini`, generates models/controllers/views with `tspawn scaffold`, builds with qmake and make, and runs the app server with `treefrog -e dev`.

In the package-nerd niche, TreeFrog is interesting because it packages a whole C++ web framework experience as command-line tools rather than just a library.

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

TreeFrog matters as a durable example of C++ web framework packaging: Qt, generators, database drivers, app-server commands, and project skeleton conventions all have to line up for the CLI experience to feel coherent.

### 时间线

- 2010: The project website copyright range begins.
- 2025: The GitHub repository lists TreeFrog Framework version 2.11.2 as a release.
- 2025: The official website footer shows continued project presence through 2025.

### Related projects

- TreeFrog is tied to Qt and qmake for its build and runtime model.
- Its documented workflow resembles MVC/scaffolding frameworks, but targets C++ applications rather than Ruby, Python, PHP, or JavaScript stacks.

### 来源

- <https://github.com/treefrogframework/treefrog-framework>
- <https://github.com/treefrogframework/treefrog-framework/releases>
- <https://www.treefrogframework.org/en/user-guide/>
- <https://www.treefrogframework.org/en/user-guide/introduction/>
- <https://www.treefrogframework.org/en/user-guide/tutorial/>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## Combined YAML source

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


## 来源

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