# 使用 Homebrew, Nix 安装 tt

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

## 安装

```sh
sudo av install brew:tt
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install tt
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#tt
```

  证据: nixpkgs package indexes: pkgs/by-name/tt/tt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:tt
- **软件包管理器:** Homebrew
- **版本:** 2.13.0
- **来源摘要:** Command-line utility to manage Tarantool applications
- **主页:** <https://github.com/tarantool/tt>
- **仓库:** <https://github.com/tarantool/tt>
- **最后更新:** 2026-05-21T20:10:28Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- tt (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

`tt` is the Tarantool command-line utility for developing, deploying, running, and operating Tarantool applications.

### 项目历史

The tarantool/tt repository was created on GitHub in 2021. Its README presents `tt` as Tarantool's instance and environment management utility, built around isolated environments defined by `tt.yaml`.

Tarantool's official documentation describes `tt` as a unified CLI for tasks ranging from installing specific Tarantool versions to managing remote instances and developing applications. It also states that `tt` replaces the older `tarantoolctl` and Cartridge CLI utilities.

### 采用历史

`tt` adoption is tightly coupled to the Tarantool ecosystem rather than to a broad standalone CLI audience. Official docs frame it as the primary command-line path for modern Tarantool application work, including multi-instance applications and environment isolation.

The README documents package-manager installation via deb and rpm repositories, Gentoo overlay, and Homebrew on macOS. The supplied package facts show Homebrew and Nix packaging.

### 使用方式

`tt` is used to initialize environments, manage Tarantool binaries and modules, create applications from templates, run instances, inspect status, work with rocks, pack applications, and interact with clusters.

The 2.x changelog shows the tool continuing to absorb operational duties, including cluster worker configuration commands, JSON/YAML status output, Tarantool Cluster Manager support, and migration notes for incompatible 2.0.0 layout changes.

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

For package nerds, `tt` is interesting because it packages the operational surface of a database/application runtime into one CLI. The package is less a generic Unix utility than the versioned control plane expected by Tarantool users.

Its configuration and artifact-layout changes make it the sort of package where distro formulas, default paths, and upgrade notes matter: installing the binary is easy, but the value comes from predictable environment layout.

### 时间线

- 2021: The tarantool/tt GitHub repository is created.
- 2022: GitHub releases begin with 0.1.0.
- 2023: Version 1.0.0 is released.
- 2025: The 2.10.0 changelog adds Tarantool Cluster Manager command support.
- 2026: Version 2.13.0 adds cluster worker configuration commands.

### Related projects

- The official docs identify `tarantoolctl` and Cartridge CLI as deprecated predecessors replaced by `tt`.
- The README positions `tt` alongside Tarantool packages, Tarantool Enterprise Edition, and Tarantool application templates.

### 来源

- <https://github.com/tarantool/tt#readme documents `tt` as Tarantool's instance and environment management utility, its environment model, install paths, and Homebrew installation.>
- <https://github.com/tarantool/tt/blob/master/CHANGELOG.md documents release history and 2.x feature additions.>
- <https://github.com/tarantool/tt/blob/master/doc/migration_from_older_versions.md documents 2.0.0 migration and layout changes.>
- <https://www.tarantool.io/en/doc/latest/reference/tooling/tt_cli documents `tt` as the unified Tarantool CLI and replacement for `tarantoolctl` and Cartridge CLI.>


## 安全说明

narrow executable package without higher-risk signals.

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


## 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: tt.yaml, /etc/tarantool/tt.yaml, tt_daemon.yaml

## Credential files

- Unix: credential_path in tt.yaml
## 其他软件包管理器记录

- Nix - tt: normalized package name match | nixpkgs package indexes: pkgs/by-name/tt/tt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

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


## 来源

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