# 使用 Homebrew, Nix, scoop, winget 安装 rtk

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

## 安装

```sh
sudo av install brew:rtk
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install rtk
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#rtk
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/rtk
```

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

- winget (92%):

```sh
winget install --id rtk-ai.rtk -e
```

  证据: Windows Package Manager source index: rtk-ai.rtk from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:rtk
- **软件包管理器:** Homebrew
- **版本:** 0.44.2
- **来源摘要:** CLI proxy to minimize LLM token consumption
- **主页:** <https://www.rtk-ai.app/>
- **仓库:** <https://github.com/rtk-ai/rtk>
- **最后更新:** 2026-08-01T18:58:36Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- rtk (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.44.2

## 安全说明

没有找到 rtk 的匹配本地密钥处理 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

- Linux: ~/.config/rtk/config.toml
- macOS: ~/Library/Application Support/rtk/config.toml
## 其他软件包管理器记录

- Nix - rtk: normalized package name match | nixpkgs package indexes: pkgs/by-name/rt/rtk/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Scoop - main/rtk: normalized package name match | Scoop official bucket manifest trees: bucket/rtk.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - rtk-ai.rtk: normalized package name match | Windows Package Manager source index: rtk-ai.rtk from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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


## 来源

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