# Install rtk with Homebrew, Nix, scoop, winget

CLI proxy to minimize LLM token consumption. Version 0.43.0 via Homebrew; verified 2026-06-28. Also installable with nix: nix profile install nixpkgs#rtk.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install rtk
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

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

  Evidence: 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
```

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:rtk
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/rtk>
- **Version:** 0.43.0
- **Source summary:** CLI proxy to minimize LLM token consumption
- **Homepage:** <https://www.rtk-ai.app/>
- **Repository:** <https://github.com/rtk-ai/rtk>
- **Upstream docs:** <https://www.rtk-ai.app/docs>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/rtk-ai/rtk/archive/refs/tags/v0.43.0.tar.gz>
- **Last updated:** 2026-06-28T11:51:21Z
- **Generated:** 2026-07-25T07:20:51+00:00

## Executables

- rtk (cli)
- rtk (alias)

## Build dependencies

- rust

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-25
- Package-manager version: 0.43.0
- Package-manager updated: 2026-06-28
- Local data: ok
- Upstream repository: https://github.com/rtk-ai/rtk
- Upstream latest detected: v0.43.0 (current)

## Security Notes

No matching local secret-handling manifest was found for rtk. Nucleus package metadata is still published here so future coverage has a stable package 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
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** rtk
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- 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


## Related links

- [MCP tool packages](https://www.automicvault.com/pkg/mcp-tools/) - Mentions MCP or Model Context Protocol.
- [AI and agent packages](https://www.automicvault.com/pkg/ai-agent-tools/) - Matched AI model, agent, coding-agent, orchestration, or MCP metadata.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [forgecode](https://www.automicvault.com/pkg/brew/forgecode/) - Shares av.db curated category or tags: ai, cli, coding-agents, developer-tools, llm.
- [opencode](https://www.automicvault.com/pkg/brew/opencode/) - Shares av.db curated category or tags: ai, cli, coding-agents, developer-tools, llm.
- [code2prompt](https://www.automicvault.com/pkg/brew/code2prompt/) - Shares av.db curated category or tags: ai, cli, coding-agents, llm.
- [codeburn](https://www.automicvault.com/pkg/brew/codeburn/) - Shares av.db curated category or tags: ai, ai-coding, cli, coding-agents.
- [codex-acp](https://www.automicvault.com/pkg/brew/codex-acp/) - Shares av.db curated category or tags: ai, ai-coding, cli, coding-agents.
- [crit](https://www.automicvault.com/pkg/brew/crit/) - Shares av.db curated category or tags: ai, cli, coding-agents, developer-tools.
- [ctx7](https://www.automicvault.com/pkg/brew/ctx7/) - Shares av.db curated category or tags: ai, ai-coding, cli, coding-agents.
- [gitingest](https://www.automicvault.com/pkg/brew/gitingest/) - Shares av.db curated category or tags: ai, cli, coding-agents, llm.
- [codex](https://www.automicvault.com/pkg/cask/codex/) - Local package facts share a topical domain. Shared terms: agents, ai, ai-coding, cli, coding.

## Combined YAML source

View the package source record on GitHub. [combined/rtk.yml](https://github.com/automic-vault/db/blob/main/combined/rtk.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
