affected

C
C tier on Monorepo Management ToolsScore 6.9 · #6 of 33
Android app
Not listed
Free plan
Yes
Runs on
Linux, Mac, Windows
github.com
The affected homepage

Summary

affected is a free, MIT-licensed command-line tool that identifies monorepo packages touched by Git changes and can run tests or other commands on them. It traces indirect dependencies and can show the chain linking a change to an affected package. The README says it detects project type and dependency graph automatically to get started without configuration. Supported ecosystems include Cargo, JavaScript package managers, Go, Python, Maven, Gradle, .NET, Swift, Dart/Flutter, Elixir, and Scala/sbt. Commands cover listing packages, testing, running commands, viewing graphs, CI, initialization, and watch mode. Execution can use parallel jobs, dry-run previews, timeouts, package filters, and skip patterns. Output options include JSON, JUnit XML, CI formats, shell completions, dependency trees, and DOT graphs. GitHub Actions support includes setup and dynamic job matrices; a companion action can post and update pull request comments with affected packages and reasons. Installation options include package managers, GitHub Actions, and release binaries. It runs on Linux, macOS, and Windows, and contributions and issue reports are welcomed through its repository.

Who it is for

It suits developers maintaining monorepos who want to target tests or commands to packages affected by Git changes. Teams using the listed CI systems and language ecosystems can use its corresponding integrations and outputs.

What is good

  • Traces transitive dependencies and explains the chain.
  • Runs commands in parallel across jobs.
  • Supports multiple CI output formats.
  • GitHub Actions can create dynamic job matrices.
  • Available for Linux, macOS, and Windows.

What to know first

  • It is a command-line tool.
  • Its documented setup and support are repository-based.

Verdict

affected offers monorepo change analysis with broad ecosystem and CI support, plus controls for targeted command execution. It is a fit for teams comfortable using a CLI and configuring their workflow around its outputs.

affected plans and pricing

All plans
affected Free MIT-licensed software · standalone CLI github.com · 3 Oct 2026

Compared on monorepo management tools

Task graph
Yesgithub.com
Affected builds
Yesgithub.com
Package managers
Cargo, npm, pnpm, Yarn, Bun, Go, Python, Poetry, uv, Maven, Gradle, .NET/C#, Swift/SPM, Dart/Flutter, Elixir/Mix, Scala/sbtgithub.com

Facts

Purpose
affected detects which monorepo packages are affected by Git changes and runs tests or other commands on those packages.github.com · 3 Oct 2026
Setup
The README says it auto-detects project type and dependency graph with zero configuration to start.github.com · 3 Oct 2026
Ecosystems
It lists support for Cargo, npm, pnpm, Yarn, Bun, Go, Python, Maven, Gradle, .NET, Swift, Dart/Flutter, Elixir and Scala/sbt.github.com · 3 Oct 2026
Commands
The CLI provides list, test, run, graph, ci, init and watch commands.github.com · 3 Oct 2026
Dependency analysis
It traces transitive dependencies to identify packages affected by a change and can explain the dependency chain.github.com · 3 Oct 2026
CI integrations
Its CI output supports GitHub Actions, GitLab, CircleCI, Azure Pipelines and generic key-value output.github.com · 3 Oct 2026
GitHub Actions
The README documents a setup action and dynamic CI job matrices for affected packages.github.com · 3 Oct 2026
PR comments
A companion GitHub Action can post and update pull request comments showing affected packages and reasons.github.com · 3 Oct 2026
Execution
Commands can run in parallel across multiple jobs, and the CLI supports dry-run previews, timeouts, package filters and skip patterns.github.com · 3 Oct 2026
Outputs
The CLI supports JSON output, JUnit XML, shell completions and a Unicode dependency tree, with DOT graph output also available.github.com · 3 Oct 2026
Distribution
The README documents installation through Homebrew, uv, pipx, pip, Cargo, GitHub Actions or a binary downloaded from Releases.github.com · 3 Oct 2026
License
The repository identifies the software as MIT licensed.github.com · 3 Oct 2026
Support
The README welcomes contributions and directs users to the repository's GitHub issues.github.com · 3 Oct 2026

Best affected alternatives

See all 20

Where it ranks on Everything Xiaomi

Is affected yours?

Claim it for free: prove the domain, then correct facts, plans and screenshots. An editor reviews every change.

Sources