Knip

Knip

Tool that finds unused dependencies, exports, files and dependencies in TypeScript and JavaScript projects, reporting dead code, missing package entries and unused exports so teams can trim bundles and remove stale packages.

Knip at knip.dev is a free ISC unused dependency export and file detector for TypeScript and JavaScript, npm 6.47.0 Node 20.19+ or 22.12+, reads source and package manifests, traces which dependencies are imported, reports listed-but-unused packages, unconsumed exports, unreferenced files and missing entry points, runs in CI to prevent dead weight, separates unused deps from unused exports and files for package removal or code deletion, no sold commercial tier (data as of Nov 22, 2026).

Visit Official Website

*This is an affiliate link, we may earn a commission at no extra cost to you.

Is Knip free?

Knip: Knip is free open-source software released under the ISC License; the knip package latest 6.47.0 on npm requires Node 20.19.0 or above, or Node 22.12.0 or above. It reads the project source and package manifests, traces which dependencies are actually imported, and reports packages listed but never used, exports that no other file consumes, files that are never referenced, and entry points that may be missing. It works across TypeScript and JavaScript projects and can be wired into CI to keep the dependency list and codebase from accumulating dead weight. The reports distinguish unused dependencies from unused exports and files, so cleanup can be split between package removal and code deletion. No paid commercial edition or per-seat license is sold by the core project (data as of Nov 22, 2026). Check the official page for current status before relying on it.

Frequently Asked Questions

Is Knip free?

It depends on the licence. Knip is released under the ISC License.

How much does Knip cost?

Knip is free open-source software released under the ISC License; the knip package latest 6.47.0 on npm requires Node 20.19.0 or above, or Node 22.12.0 or above. It reads the project source and package manifests, traces which dependencies are actually imported, and reports packages listed but never used, exports that no other file consumes, files that are never referenced, and entry points that may be missing. It works across TypeScript and JavaScript projects and can be wired into CI to keep the dependency list and codebase from accumulating dead weight. The reports distinguish unused dependencies from unused exports and files, so cleanup can be split between package removal and code deletion. No paid commercial edition or per-seat license is sold by the core project (data as of Nov 22, 2026). Usage volume, plan limits and add-ons can push the bill above the figures shown, so confirm the current numbers on the vendor page before committing.

Where can I check Knip's current pricing?

On Knip's official site, linked from this page. We only publish a price after reading the vendor's own pricing page, so if this page shows no number, it means no traceable public price is on file — not that the tool is free.

What is Knip?

The analyzer traces imports against the package manifest, unused dependencies are packages never imported, unused exports are symbols no file consumes, unreferenced files are modules with no entry, and CI reports keep the list clean over time.

How does pricing work?

The analyzer installs free under ISC with no seat license; editor and CI integrations follow their own terms, and any commercial support would be outside the open-source project.

How does Knip compare with other tools in Dev Workflow & Productivity?

Knip is listed in the Dev Workflow & Productivity category, alongside 2 other tools we track here. 2 of those 2 peers have a dated price we read from the vendor's own pricing page, and the table below shows each tool's pricing model next to the exact rate on file — so the comparison is between published numbers, not between marketing pages.

ToolPricing modelKey pricing on filePrice checked
KnipOpen sourceKnip is free open-source software released under the ISC License; the knip package latest 6.47.0 on npm requires Node 20.19.0 or above, or Node 22.12.0 or above. It reads the project source and package manifests, traces which dependencies are actually imported, and reports packages listed but never used, exports that no other file consumes, files that are never referenced, and entry points that may be missing. It works across TypeScript and JavaScript projects and can be wired into CI to keep the dependency list and codebase from accumulating dead weight. The reports distinguish unused dependencies from unused exports and files, so cleanup can be split between package removal and code deletion. No paid commercial edition or per-seat license is sold by the core project (data as of Nov 22, 2026).Nov 22, 2026
DepcheckOpen sourceDepcheck is free open-source software released under the MIT License; the depcheck package latest 1.4.7 on npm declares Node 10 or above. It parses the source tree and compares imported modules against the dependencies and devDependencies listed in package.json, reporting packages that are declared but never required or imported, and packages that the code uses but are missing from the manifest. It also flags unused devDependencies and ignores entries that match configured patterns. The CLI runs locally or in CI to keep package.json aligned with actual imports, catching stale dependencies before they bloat installs. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026).Nov 22, 2026
ts-pruneOpen sourcets-prune is free open-source software released under the MIT License; the ts-prune package latest 0.10.3 on npm does not declare a Node engine range. It reads the TypeScript program, walks exported functions, classes, constants and types, and checks whether each export is imported anywhere else in the project. Exports with no importer are listed as candidates for removal, with options to ignore specific paths or exports. The tool focuses on unused exported symbols rather than package dependencies, so it complements dependency checkers that audit package.json. It runs as a local CLI and can be added to CI to surface newly orphaned exports. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026).Nov 22, 2026

3 of these 3 entries carry a specific price we read from the vendor's site. Where the column says there is no dated price on file, we have not verified a rate — treat that as unknown rather than free, and check the vendor's page before you budget for it.

Full pricing breakdown

Knip: Knip is released under the ISC License. Check the official site for any hosted plan.

Open source does not always mean every hosted version is free.

Key pricing: Knip is free open-source software released under the ISC License; the knip package latest 6.47.0 on npm requires Node 20.19.0 or above, or Node 22.12.0 or above. It reads the project source and package manifests, traces which dependencies are actually imported, and reports packages listed but never used, exports that no other file consumes, files that are never referenced, and entry points that may be missing. It works across TypeScript and JavaScript projects and can be wired into CI to keep the dependency list and codebase from accumulating dead weight. The reports distinguish unused dependencies from unused exports and files, so cleanup can be split between package removal and code deletion. No paid commercial edition or per-seat license is sold by the core project (data as of Nov 22, 2026).

Estimate your monthly bill with our calculator →Or build a full stack around your budget →

Pricing Guides & Comparisons

Plan prices in these guides are read from each vendor's own pricing page, with the date we checked them.

⭐ Rate this tool

How would you rate this tool?

🚀 Never Miss a New AI Coding Tool

Join 1,000+ developers getting our weekly roundup: new AI tools, student free tiers, exclusive discounts, and side project deals. No spam, unsubscribe anytime.

Tool Information

  • Official Websiteknip.dev
  • CategoryDev Workflow & Productivity
  • PricingOpen Source
  • Price checkedNov 22, 2026

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates