What it is
Packages npx downloaded to run one-off commands.
Can you delete it?
Yes, it is rebuilt automatically. npx downloads them again the next time you run that command.
How to clean it safely
- Delete the folder's contents.
How big is it on your Mac?
This read-only command prints its size and changes nothing:
Terminal
du -sh ~/".npm/_npx" 2>/dev/nullStep-by-step guide: Delete node_modules safely →
Related folders
- Vite dependency cache ·
<project>/node_modules/.vite - Deno cache ·
~/Library/Caches/deno - Turborepo cache ·
<project>/.turbo - Bun install cache ·
~/.bun/install/cache - Playwright browsers ·
~/Library/Caches/ms-playwright - pnpm store ·
~/Library/pnpm/store
Questions
Is it safe to delete ~/.npm/_npx?
Yes, it is rebuilt automatically. npx downloads them again the next time you run that command.
Let the raccoon do it, safely
Junk Raccoon finds this clutter for you, shows every file first, and keeps a one-click way back. Free to download, no account, no ads.
Download for Mac