macOS
brew install yeklocal Homebrew formula metadata
brew / rank 6026
Fast Rust based tool to serialize text-based files for LLM consumption. Version 0.25.5 via Homebrew; verified 2026-06-29. Also installable with nix: nix profile install nixpkgs#yek.
install
brew install yeklocal Homebrew formula metadata
nix profile install nixpkgs#yeknixpkgs package indexes · pkgs/by-name/ye/yek/package.nix · source: api.github.com
scoop install extras/yekScoop official bucket manifest trees · bucket/yek.json · source: api.github.com
overview
Fast Rust based tool to serialize text-based files for LLM consumption
history
yek is a Rust command-line tool that serializes text files from a repository or directory into an LLM-friendly single output. It respects ignore rules, can prioritize files using Git history, supports token or size caps, and can be configured with YAML, TOML, or JSON.
The mohsen1/yek repository was created on 2025-01-11, right as developer tooling around LLM context packaging was becoming its own small software category. The name means "one" in Persian, matching the tool's core idea of turning many project files into one consumable context file.
The README shows the project's early design priorities: use .gitignore rules, infer additional binary or large-file ignores, use Git history to decide which files are more important, stream when output is piped, process multiple directories, support globs, and optionally read a `yek.yaml` configuration file.
Subsequent documentation expanded the tool from simple concatenation into a configurable context generator with token caps, JSON output, line numbers, custom output templates, tree-only/tree-header modes, priority rules, binary extension overrides, and alternative config formats.
Yek saw fast adoption for a young CLI because it landed in a timely niche: packaging repository context for LLMs. The GitHub repository has thousands of stars, the project was discussed on Reddit and Hacker News, and it appears in Rust/LLM tool lists and package indexes such as Cargo/lib.rs, Homebrew, Nix, and Scoop.
Its adoption is practical rather than institutional: developers use it when a repository is too large or too scattered to paste manually, but they still want a local, inspectable text artifact rather than a hosted indexing service.
The basic workflow is to run `yek` at a repository root and receive a generated file path, or pipe the output directly into a clipboard or another command. Users can pass files, directories, multiple roots, or quoted glob patterns, and can cap output with options such as `--max-size` or `--tokens`.
For repeatable project behavior, users add `yek.yaml`, `yek.toml`, or `yek.json` with ignore patterns, unignore patterns, output settings, priority rules, binary extensions, and Git-based priority tuning. That makes it useful in AI coding workflows where the same repository context needs to be regenerated often.
Yek is package-nerd significant because it is part of the post-LLM wave of repository-to-context tools, but implemented as a small native CLI rather than a web service. That makes package-manager availability especially useful: developers can install it next to Git and editors and keep data local.
It also shows a new kind of packaging demand: tools whose main job is not compiling, linting, or deploying code, but preparing source trees for machine consumption.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
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.
Config paths the tool may read or write during local use.
yek.yamlyek.tomlyek.jsonexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
yek | executable | indexed executable | Discovered from the local executable index. |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:yek |
|---|---|
| Version | 0.25.5 |
| Package manager | Homebrew |
| Homepage | https://github.com/mohsen1/yek |
| Repository | https://github.com/mohsen1/yek |
| Last updated | 2026-06-29T18:57:35Z |
| Pulse | updated |
| Bottle | not recorded |
| Service | none declared |
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
yek
nix profile install nixpkgs#yekextras/yek
scoop install extras/yeksource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.