pkg.soopen package index

brew / rank 6026

Install yek with Homebrew, Nix, scoop

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

Additional install commands

macOS

Homebrewverified · 100%
brew install yek

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#yek

nixpkgs package indexes · pkgs/by-name/ye/yek/package.nix · source: api.github.com

Windows

Scoopverified · 92%
scoop install extras/yek

Scoop official bucket manifest trees · bucket/yek.json · source: api.github.com

overview

Package summary

Fast Rust based tool to serialize text-based files for LLM consumption

Commands and aliases

  • yek

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2025-01-11: The mohsen1/yek repository is created.
  • 2025-01: The project is shared as a Rust tool for serializing code repositories for LLM consumption on Reddit and Hacker News.
  • 2025: The README documents Git-aware file prioritization, .gitignore handling, streaming output, glob support, and `yek.yaml` configuration.
  • 2025: Package availability expands through ecosystems including Homebrew, Cargo/lib.rs, Nix, and Scoop.
  • 2026-06-29: GitHub release activity shows continuing maintenance into mid-2026.

Related projects

  • Related tools include Repomix, gitingest, onefilellm, repo2file, repo2txt, project-context generators, clipboard-based LLM workflows, Git, ripgrep-style file discovery, and local RAG/context-pack tooling.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

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

Config paths the tool may read or write during local use.

Unix
yek.yamlyek.tomlyek.json

executables

Installed executables

CommandKindExposureNote
yekexecutableindexed executableDiscovered from the local executable index.

freshness

Version and 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.

page generated2026-08-03
manager version0.25.5
manager updated2026-06-29
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:yek
Version0.25.5
Package managerHomebrew
Homepagehttps://github.com/mohsen1/yek
Repositoryhttps://github.com/mohsen1/yek
Last updated2026-06-29T18:57:35Z
Pulseupdated
Bottlenot recorded
Servicenone declared

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

yek

nix profile install nixpkgs#yek
  • normalized package name match
  • Matched by: Yek
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ye/yek/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Scoop95%

extras/yek

scoop install extras/yek
  • normalized package name match
  • Matched by: Yek
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/yek.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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