- 1Runs onLinux, Mac, Windows
- 2CostsFree plan
- 3Task graphYes
- 4Affected buildsYes
- 5Package managersCargo, npm, pnpm, Yarn, Bun, Go, Python, Poetry, uv, Maven, Gradle, .NET/C#, Swift/SPM, Dart/Flutter, Elixir/Mix, Scala/sbt

Overview
affected is a free, MIT-licensed command-line tool for identifying monorepo packages touched by Git changes and running tests or other commands on those packages. It traces transitive dependencies and can explain the chain from 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, npm, pnpm, Yarn, Bun, Go, Python, Maven, Gradle, .NET, Swift, Dart/Flutter, Elixir, and Scala/sbt. CLI commands cover listing packages, testing, running commands, viewing graphs, CI, initialization, and watch mode. Execution options include parallel jobs, dry-run previews, timeouts, package filters, and skip patterns. Outputs include JSON, JUnit XML, CI formats, shell completions, dependency trees, and DOT graphs. GitHub Actions support includes a setup action and dynamic job matrices; a companion action can post and update pull request comments with affected packages and reasons. Installation options include Homebrew, Python and language package managers, GitHub Actions, and release binaries. It runs on Linux, macOS, and Windows.
Who it is for
affected suits developers working in monorepos who want to run commands only for packages affected by Git changes. Its CI output and GitHub Actions support can serve teams using supported pipelines.
What is good
- Traces transitive dependencies and explains the chain
- Supports a broad range of package ecosystems
- Runs jobs in parallel with filters and timeouts
- Supports several CI output formats
- Runs on Linux, macOS, and Windows
What to know first
- It is a command-line tool
- There is no listed graphical interface
Verdict
affected provides package-level change detection, execution controls, and CI support for monorepos. It is free and MIT licensed.
affected plans and pricing
All plansCompared 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 20Where it ranks on Specifiction
Is affected yours?
Claim it for free: prove the domain, then correct facts, plans and screenshots. An editor reviews every change.
Sources
- github.com/Rani367/affected· checked 3 Oct 2026
- github.com/Rani367/affected/blob/main/LICENSE· checked 3 Oct 2026


