This documentation is available as Markdown for AI agents and LLMs. See the full Markdown index or append .md to any documentation URL.
Clear bundler caches on Windows
Edit page
Learn how to clear the bundler cache when using Yarn or npm with Expo CLI or React Native CLI on Windows.
Need to clear development caches on macOS or Linux? Find the relevant commands here.
There are a number of different caches associated with your project that can prevent your project from running as intended. Clearing a cache sometimes can help you work around issues related to stale or corrupt data and is often useful when troubleshooting and debugging.
Expo CLI and Yarn
Expo CLI and npm
React Native CLI and Yarn
React Native CLI and npm
What these commands are doing
It is a good habit to understand commands you find on the internet before you run them. We explain each command below for Expo CLI, npm, and Yarn, but the corresponding commands React Native CLI have the same behavior.