Kleaner PRO

Professional care for Windows 7/10/11.

Made with care for performance.

Follow us
Products
  • Kleaner PRO
  • Store
  • Activation portal
  • What's new in Kleaner PRO
  • More products — coming soon
Resources
  • Features
  • FAQ
  • Compare tools
  • Knowledge Base
  • Blog
  • Download
Legal
  • License agreement
  • Terms of service
  • Privacy policy
  • Refund policy
[email protected]Telegram support @Vladimlrovlch
© 2026 Kleaner PRO · kleaner.pro. All rights reserved.
Payments
ЮMoneyVisaMastercardМИРPayPalWebMoneyUseGatewayBitcoinEthereumUSDT
    Kleaner PRO
    FeaturesSmart CarePricingFAQKnowledge BaseBlogDownloadActivate
    FeaturesSmart CarePricingFAQKnowledge BaseBlogDownloadActivate
    BuyBuy license
    Blog →4 min read2026-05-08· Kleaner PRO Team

    node_modules Warfare: Reclaiming Gigabytes From Dead Side Projects

    Every dead side project on your disk keeps a monument to itself: a node_modules folder with more files than a Windows install, sometimes gigabytes of them. The good news is that deleting them is not just safe — it's the design; here is the workflow that gets the space back without breaking anything you still care about.

    Why one folder can outweigh your OS

    npm installs every dependency into a local node_modules per project — no sharing and no deduplication between projects by default. A modest web app easily pulls 800 MB to 2 GB across a thousand packages, and the file count is the real killer: tens of thousands of tiny files that Windows Defender scans, backup tools crawl, and OneDrive — if your projects live in a synced folder — chokes on forever. It's also why installs take minutes on Windows compared to seconds on Linux: the per-file overhead of creating small files is brutal. Five abandoned experiments later, you are looking at 10–15 GB that nothing actively uses.

    Delete without fear: the lockfile is your guarantee

    The contract is simple: package.json says what you need, package-lock.json says exactly which versions you had, and node_modules is just the unpacked result of those two. Delete node_modules, run npm ci, and the identical tree comes back in a few minutes — that is not a recovery trick, it is the intended workflow. The only unforgivable mistake is deleting the lockfile, or letting a project rot without one committed. For finding the folders, npx npkill scans all your drives, lists every node_modules with size and last-modified date, and deletes the ones you mark; WizTree does the same job as a general disk map if you want the big picture.

    • Delete node_modules — never package.json or the lockfile
    • Reinstall with npm ci: it follows the lockfile exactly, unlike npm install
    • Run npx npkill to find and kill node_modules across all drives
    • Keep active projects out of OneDrive and Dropbox folders — file counts kill sync
    • Dead project? Zip it without node_modules, then delete the folder
    • Try pnpm for new projects: one global store, projects link into it

    The caches behind the folder

    Even with every node_modules gone, npm keeps a second hoard: the cache in %LOCALAPPDATA%\npm-cache, holding a copy of every package version you have ever installed — gigabytes that grow monotonically for years. npm cache verify cleans it up safely, and the same logic applies to pnpm store prune and yarn cache clean for their respective stores. The npm cache is worth keeping enabled: it is what makes reinstalling a project with an empty cache the slow path instead of the normal one. A periodic junk sweep with Kleaner PRO catches these developer caches alongside the usual temp files — useful when several tools have been quietly hoarding on the same machine.

    Questions and Answers

    Is it safe to delete the node_modules folder?

    Yes. package.json and the lockfile fully describe it; npm ci rebuilds the exact tree in minutes. Just never delete those two files.

    How do I find all node_modules folders on my disk?

    Run npx npkill — it scans every drive, shows sizes and dates, and deletes what you mark. WizTree gives you the same view as a full disk map.

    Know what is included before you buy.

    The one-time 30-minute trial covers core tools. PRO-labelled features stay locked until a paid license is activated.

    Download for WindowsBuy license

    Read next

    The Complete Windows 11 Cleanup Guide (2026): what is safe to delete and what breaks the system→Windows 11 privacy in 2026: 14 telemetry settings worth checking→SSD and HDD in 2026: defragmentation, TRIM, and myths that need to die→

    Write to us: [email protected]

    English
    EnglishРусскийУкраїнськаDeutschEspañolFrançaisPortuguês (BR)Polski