Is it safe to delete Metro cache (React Native)?

$TMPDIR/metro-* · Safe to delete

What it is

React Native's bundler cache in the temporary folder.

Can you delete it?

Yes, it is rebuilt automatically. Rebuilt on the next start.

How to clean it safely

  1. Run: npx react-native start --reset-cache

Step-by-step guide: Delete node_modules safely →

Questions

Is it safe to delete $TMPDIR/metro-*?

Yes, it is rebuilt automatically. Rebuilt on the next start.

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