# 使用 Homebrew, apk, apt, MacPorts, Nix, pacman, zypper, scoop, winget 安装 tea

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

## 安装

```sh
sudo av install brew:tea
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install tea
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install tea
```

  证据: MacPorts ports tree: editors/tea/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add tea
```

  证据: Alpine Linux edge package indexes: tea from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install tea
```

  证据: Debian stable package indexes: tea from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#tea
```

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

- pacman (92%):

```sh
sudo pacman -S tea
```

  证据: Arch Linux sync databases: tea from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install tea
```

  证据: openSUSE Tumbleweed package metadata: tea from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/tea
```

  证据: Scoop official bucket manifest trees: bucket/tea.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Gitea.tea -e
```

  证据: Windows Package Manager source index: Gitea.tea from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:tea
- **软件包管理器:** Homebrew
- **版本:** 0.15.1
- **来源摘要:** Command-line tool to interact with Gitea servers
- **主页:** <https://gitea.com/gitea/tea>
- **最后更新:** 2026-08-02T16:04:56Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- tea (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Tea is the official command-line interface for Gitea. It gives Gitea users a terminal workflow for issues, pull requests, labels, milestones, releases, repositories, notifications, actions, webhooks, and administrative tasks.

### 项目历史

The official Gitea repository metadata shows `gitea/tea` was created in 2019. Its README presents Tea as a productivity helper for Gitea that uses the `gitea.dev/sdk` client library and interacts with the Gitea API.

Tea developed around repository-context-aware workflows: the README says it tries to use the repository in the current working directory, works well in upstream/fork workflows, and includes local helpers such as `tea pr checkout`.

### 采用历史

The official README lists Homebrew as the official macOS package route, prebuilt binaries from dl.gitea.com, source installation, and Docker. The supplied package-manager facts show Tea packaged across Homebrew, Debian/Ubuntu, Alpine, Arch, MacPorts, Nix, Scoop, winget, and openSUSE.

### 使用方式

Tea is used by Gitea users who want GitHub-CLI-like operations against one or more Gitea instances. It supports login management, pull request checkout, issue viewing and commenting, release management, repository cloning, notification polling, and Gitea Actions secrets and variables.

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

Tea matters in the package-nerd niche because it is the canonical CLI for a self-hostable forge. Packagers care about it both as an end-user binary and as part of the wider Gitea ecosystem, especially where distributions support users who run private Gitea instances.

### 时间线

- 2019: Official Gitea Tea repository created.
- 2023: v0.9.x releases published on gitea.com.
- 2026: v0.14.x releases published, showing ongoing maintenance.

### Related projects

- Tea is tied directly to Gitea and uses gitea.dev/sdk to interact with the Gitea API.

### 来源

- <https://gitea.com/api/v1/repos/gitea/tea>
- <https://gitea.com/api/v1/repos/gitea/tea/releases>
- <https://gitea.com/gitea/tea>
- source_facts.package-manager


## 安全说明

没有找到 tea 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## 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: $XDG_CONFIG_HOME/tea

## Credential files

- Unix: $XDG_CONFIG_HOME/tea
## 其他软件包管理器记录

- Debian apt - tea - 63.3.0-1: normalized package name match | Debian stable package indexes: tea from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | graphical text editor with syntax highlighting | https://tea.ourproject.org/
- Debian apt - tea-data - 63.3.0-1: normalized package name match | Debian stable package indexes: tea-data from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | graphical text editor with syntax highlighting - data files | https://tea.ourproject.org/
- Nix - tea: normalized package name match | nixpkgs package indexes: pkgs/by-name/te/tea/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - tea - 62.0.2-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: tea from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | graphical text editor with syntax highlighting | https://tea.ourproject.org/
- Ubuntu apt - tea-data - 62.0.2-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: tea-data from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | graphical text editor with syntax highlighting - data files | https://tea.ourproject.org/
- apk - tea - 0.14.2-r0: normalized package name match | Alpine Linux edge package indexes: tea from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A command line tool to interact with Gitea servers | https://gitea.com/gitea/tea
- apk - tea-bash-completion - 0.14.2-r0: normalized package name match | Alpine Linux edge package indexes: tea-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for tea | https://gitea.com/gitea/tea
- pacman - tea - 0.15.0-1: normalized package name match | Arch Linux sync databases: tea from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A command line tool to interact with Gitea servers | https://gitea.com/gitea/tea
- zypper - tea - 61.2.0-2.6: normalized package name match | openSUSE Tumbleweed package metadata: tea from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Qt-based text editor with image viewer | http://semiletov.org/tea
- MacPorts - tea: normalized package name match | MacPorts ports tree: editors/tea/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/tea: normalized package name match | Scoop official bucket manifest trees: bucket/tea.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Gitea.tea: normalized package name match | Windows Package Manager source index: Gitea.tea from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/tea.yml](https://github.com/mxcl/pkgdb/blob/main/combined/tea.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
