# pre-commit vs Trunk

**Leader by vioscaleAI score:** pre-commit

| Attribute | pre-commit | Trunk |
|---|---|---|
| **vioscaleAI score** | 66.1 (70% (medium)) | 52.6 (73% (medium)) |
| activity.commits_last_30d | 16 | - |
| adoption.dependent_repos | 35,684 | - |
| adoption.github_stars | 15,626 | - |
| adoption.package_downloads_weekly | 33,971,661 | - |
| content.faq | `[{"answer":"A framework that automates the execution of code quality checks as git pre-commit hooks, eliminating the need for developers to manually install language-specific dependencies on their machines to run linters and formatters written in any programming language. It is indexed under Code Quality Tools.","source":"https://pre-commit.com","question":"What is pre-commit?","confidence":0.6},{"answer":"pre-commit offers a free tier, so you can start without paying. Pricing changes often, so verify at source before relying on it.","source":"https://pre-commit.com","question":"Is pre-commit free?","confidence":0.6},{"answer":"pre-commit supports a command-line interface. Platforms we have not confirmed are simply not listed here rather than ruled out.","source":"https://pre-commit.com","question":"What platforms does pre-commit support?","confidence":0.6},{"answer":"Yes. pre-commit can be deployed self-hosted, so it does not have to run on the vendor's infrastructure.","source":"https://pre-commit.com","question":"Can pre-commit be self-hosted?","confidence":0.6},{"answer":"Yes. pre-commit is published under the MIT licence, a permissive licence that generally allows commercial use and modification. Licence terms can change between releases, so verify against the repository for the version you intend to use.","source":"https://github.com/pre-commit/pre-commit","question":"Is pre-commit open source?","confidence":0.99}]` | `[{"answer":"A system that identifies flaky tests, automatically quarantines them while maintaining build health, and manages the PR merging process at scale with parallel test execution and integrated tool support. It is indexed under Code Quality Tools.","source":"https://www.trunk.io","question":"What is Trunk?","confidence":0.6},{"answer":"Trunk offers a free tier, so you can start without paying. Paid plans start at $0 per month. Prices are published openly on the vendor's own pricing page. Pricing changes often, so verify at source before relying on it.","source":"https://trunk.io/pricing","question":"Is Trunk free?","confidence":0.6},{"answer":"Trunk supports the web, Linux and a command-line interface. Platforms we have not confirmed are simply not listed here rather than ruled out.","source":"https://www.trunk.io","question":"What platforms does Trunk support?","confidence":0.6},{"answer":"We have only confirmed a cloud / SaaS deployment for Trunk, so it appears to be vendor-hosted. If a self-hosted option exists we have not found it documented publicly.","source":"https://www.trunk.io","question":"Can Trunk be self-hosted?","confidence":0.6},{"answer":"We have confirmed 13 integrations for Trunk, including GitHub, Slack, Linear, Jira, Google (OAuth/SSO), Microsoft (OAuth/SSO), Jenkins and CircleCI, plus 5 more. This is what we could verify from public sources, so the vendor may support others we have not indexed.","source":"https://www.trunk.io","question":"What does Trunk integrate with?","confidence":0.6},{"answer":"We have independently confirmed SOC 2 for Trunk. Certifications we do not list are ones we have not been able to verify from public sources, which is not the same as Trunk not holding them. Always confirm compliance directly before you rely on it.","source":"https://www.trunk.io","question":"What security certifications does Trunk have?","confidence":0.6},{"answer":"Trunk is available worldwide. Its primary market is the United States. The vendor is headquartered in the United States.","source":"https://trunk.io/pricing","question":"Where is Trunk available?","confidence":0.75}]` |
| deployment.options | `{"self_hosted":true}` | `{"cloud":true}` |
| description.long | Manages Git pre-commit hooks written in various languages, automatically running code checks to detect issues like missing semicolons, trailing whitespace, and debug statements before code review. | Trunk automatically detects and isolates unreliable tests that block deployments, while managing a merge queue system that coordinates related changes to run in parallel. This reduces infrastructure costs and accelerates software delivery by preventing test flakes from delaying code merges. |
| features.capabilities | `{"autofix":false,"metrics":false,"function":"meta_runner","ci_gating":true,"deployment":"cli_local","incremental":false,"open_source":"oss","config_model":"config_file","custom_rules":true,"impl_language":"Python","pricing_model":"free","language_scope":"multi_language","editor_integration":false}` | `{"autofix":true,"metrics":true,"ci_gating":true,"deployment":"both","open_source":"closed","pricing_model":"per_contributor","language_scope":"multi_language"}` |
| integrations.count | - | 10 |
| integrations.list | - | `[{"name":"GitHub"},{"name":"Slack"},{"name":"Linear"},{"name":"Jira"},{"name":"Google (OAuth/SSO)"},{"name":"Microsoft (OAuth/SSO)"},{"name":"Jenkins"},{"name":"CircleCI"},{"name":"Travis CI"},{"name":"Microsoft Teams","native":true,"category":"chat","direction":"outbound"},{"name":"GitHub Issues","native":true,"category":"issue_tracking","direction":"outbound"},{"name":"Bazel","native":true,"category":"build_system","direction":"inbound"},{"name":"Nx","native":true,"category":"build_system","direction":"inbound"},{"name":"Gradle","native":true,"category":"build_system","direction":"inbound"},{"name":"Svix","native":true,"category":"webhooks","direction":"outbound"}]` |
| language.primary | Python | - |
| license.spdx | MIT | - |
| market.availability | - | `{"hqCountry":"US","primaryMarkets":["US"],"availabilityScope":"global","availableCountries":[],"notAvailableCountries":[]}` |
| platform.support | `{"cli":true,"mac":true,"linux":true,"windows":true}` | `{"cli":true,"web":true}` |
| pricing | `{"type":"free","sourceUrl":"https://pre-commit.com","retrievedAt":"2026-08-14T09:20:48.398Z"}` | `{"type":"subscription","plans":[{"free":true,"name":"Free","summary":"Free for up to 5 committers","features":["Flaky test detection and quarantining","PR comments with test summaries","GitHub integration","Slack notifications","CLI and VS Code usage","Data encryption in transit and at rest","US data residency","SOC 2 Type II compliance"],"minSeats":1,"commitment":"monthly","components":[{"kind":"fixed","amount":0,"period":"month","currency":"USD"}],"description":"Up to 5 committers with 1M test spans per committer/month","contactSales":false,"includedLimits":{"committers":"5","test_spans":"1M/month per committer"}},{"free":false,"name":"Team","summary":"$0/committer/month","features":["Everything in Free, plus:","Unlimited committers","Volume discounts on test spans","Merge queue with anti-flake protection","Intelligent PR batching (up to 100 PRs)","Parallel merge queues","Multi-CI provider support","Parallelism controls","Slack channel notifications and DMs","Admin tools and authentication controls","Onboarding support"],"commitment":"monthly","components":[{"kind":"fixed","amount":0,"period":"month","currency":"USD"}],"description":"Unlimited committers with advanced CI features and volume discounts","contactSales":false,"includedLimits":{"committers":"Unlimited","test_spans_per_committer":"1M/month"}},{"free":false,"name":"Enterprise","summary":"Custom pricing — contact sales","features":["Everything in Team, plus:","Single Sign-On (SSO) with custom providers","SAML support","On-premise deployment","Advanced admin and authentication controls","Slack Connect support channel","Dedicated support team","Custom billing and payment terms","Early access to new features","Feature prioritization","Custom integrations"],"description":"Custom features including SSO, on-premise deployment, dedicated support, and advanced admin controls","contactSales":true,"includedLimits":{"test_spans":"Volume discount available"}}],"summary":"Free tier available. Team and Enterprise plans available with volume-based discounts on test spans.","currency":"USD","freeTier":true,"sourceUrl":"https://trunk.io/pricing","retrievedAt":"2026-08-14T09:22:04.880Z","startingPrice":{"amount":0,"period":"month","currency":"USD"},"billingPeriods":["month"]}` |
| pricing.free_tier | yes | yes |
| pricing.model | commercial | free |
| pricing.price_level | free | free |
| pricing.transparent | yes | no |
| release.cadence_days | 57 | - |
| release.history | `[{"url":"https://github.com/pre-commit/pre-commit/releases/tag/v4.6.2","date":"2026-08-10T22:08:59Z","type":"stable","version":"v4.6.2"},{"url":"https://github.com/pre-commit/pre-commit/releases/tag/v4.6.1","date":"2026-07-21T20:58:53Z","type":"stable","version":"v4.6.1"},{"url":"https://github.com/pre-commit/pre-commit/releases/tag/v4.6.0","date":"2026-04-21T20:32:56Z","type":"stable","version":"v4.6.0"},{"url":"https://github.com/pre-commit/pre-commit/releases/tag/v4.5.1","date":"2025-12-16T21:18:45Z","type":"stable","version":"v4.5.1"},{"url":"https://github.com/pre-commit/pre-commit/releases/tag/v4.5.0","date":"2025-11-22T21:08:24Z","type":"stable","version":"v4.5.0"},{"url":"https://github.com/pre-commit/pre-commit/releases/tag/v4.4.0","date":"2025-11-08T21:48:28Z","type":"stable","version":"v4.4.0"},{"url":"https://github.com/pre-commit/pre-commit/releases/tag/v4.3.0","date":"2025-08-09T18:59:03Z","type":"stable","version":"v4.3.0"},{"url":"https://github.com/pre-commit/pre-commit/releases/tag/v4.2.0","date":"2025-03-18T21:42:20Z","type":"stable","version":"v4.2.0"},{"url":"https://github.com/pre-commit/pre-commit/releases/tag/v4.1.0","date":"2025-01-20T18:49:11Z","type":"stable","version":"v4.1.0"},{"url":"https://github.com/pre-commit/pre-commit/releases/tag/v4.0.1","date":"2024-10-08T16:10:45Z","type":"stable","version":"v4.0.1"},{"url":"https://github.com/pre-commit/pre-commit/releases/tag/v4.0.0","date":"2024-10-05T19:19:45Z","type":"stable","version":"v4.0.0"},{"url":"https://github.com/pre-commit/pre-commit/releases/tag/v3.8.0","date":"2024-07-28T20:05:15Z","type":"stable","version":"v3.8.0"},{"url":"https://github.com/pre-commit/pre-commit/releases/tag/v3.7.1","date":"2024-05-11T01:31:03Z","type":"stable","version":"v3.7.1"},{"url":"https://github.com/pre-commit/pre-commit/releases/tag/v3.7.0","date":"2024-03-24T17:41:43Z","type":"stable","version":"v3.7.0"},{"url":"https://github.com/pre-commit/pre-commit/releases/tag/v3.6.2","date":"2024-02-18T18:22:07Z","type":"stable","version":"v3.6.2"},{"url":"https://github.com/pre-commit/pre-commit/releases/tag/v3.6.1","date":"2024-02-10T19:47:57Z","type":"stable","version":"v3.6.1"},{"url":"https://github.com/pre-commit/pre-commit/releases/tag/v3.6.0","date":"2023-12-09T21:29:42Z","type":"stable","version":"v3.6.0"},{"url":"https://github.com/pre-commit/pre-commit/releases/tag/v3.5.0","date":"2023-10-13T16:06:55Z","type":"stable","version":"v3.5.0"},{"url":"https://github.com/pre-commit/pre-commit/releases/tag/v3.4.0","date":"2023-09-02T17:13:27Z","type":"stable","version":"v3.4.0"},{"url":"https://github.com/pre-commit/pre-commit/releases/tag/v3.3.3","date":"2023-06-13T23:12:35Z","type":"stable","version":"v3.3.3"}]` | - |
| reliability.status_page | yes | yes |
| security.certifications | - | `[{"name":"SOC 2 Type I","level":"Type I","status":"active"},{"name":"SOC 2 Type II","level":"Type II","status":"active"}]` |
| security.gdpr | - | yes |
| security.scorecard | 4.7 | - |
| security.soc2 | - | yes |
| security.trust_center | - | https://trunk.io/security |
| security.vulnerabilities | `{"count":0,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=pypi&package_name=pre-commit&per_page=100","last_12m":0,"max_severity":null}` | - |

## Capabilities (Code Quality Tools)

| Capability | pre-commit | Trunk |
|---|:--:|:--:|
| **Core** |  |  |
| Function | Meta-runner | - |
| Language scope | Multi-language | Multi-language |
| Implementation language | Python | - |
| **Capability** |  |  |
| Autofix | ✗ | ✓ |
| **Config** |  |  |
| Config model | Config file | - |
| **Extensibility** |  |  |
| Custom rules | ✓ | - |
| **Deployment** |  |  |
| Deployment | CLI-local | Both |
| **Delivery** |  |  |
| Editor integration | ✗ | - |
| CI / VCS gating | ✓ | ✓ |
| **Insight** |  |  |
| Code metrics | ✗ | ✓ |
| **Performance** |  |  |
| Incremental / monorepo aware | ✗ | - |
| **Licensing** |  |  |
| Open-source | OSS | Closed |
| **Commercial** |  |  |
| Pricing model | Free | Per-contributor |

*Source: vioscaleAI. Generated 2026-10-16T18:30:44.971Z. "-" = undocumented, not absent.*
