To fully clean up and remove CRC (OpenShift Local) from your Mac โ including all configuration, VM, cache, and logs โ follow this step-by-step CRC full cleanup guide.
๐งน Step-by-Step CRC Full Cleanup (macOS)
โ ๏ธ WARNING:
This removes everything related to CRC including:
- the OpenShift cluster
- your persistent data
- configs, credentials, cached images, and logs
โ Step 1: Stop CRC (if running)
crc stop
โ Step 2: Delete the CRC VM and data
crc delete --force
Code language: JavaScript (javascript)
โ Step 3: Remove CRC config, cache, logs, and binary
# Remove config and cache directories
rm -rf ~/.crc
# Optional: If you installed the binary in /usr/local/bin
sudo rm -f /usr/local/bin/crc
# Optional: If you installed with Homebrew
brew uninstall crc
# Optional: Also remove the downloaded bundle (huge file)
rm -rf ~/Library/Caches/crc
Code language: PHP (php)
โ Step 4: Remove networking artifacts (if any)
If you used older CRC versions or have custom DNS entries:
sudo rm -f /etc/resolver/testing
โ Step 5: Clean Hypervisor Artifacts
If you’re using vfkit (on Apple Silicon) or HyperKit (older Intel-based setup), also run:
# Remove hyperkit or vfkit remnants (if you used it)
rm -rf ~/Library/Containers/com.redhat.crc
rm -rf ~/Library/Preferences/com.redhat.crc.plist
rm -rf ~/Library/Application\ Support/crc
Code language: PHP (php)
โ Step 6: Clean up logs (optional)
rm -rf ~/Library/Logs/crc
Code language: JavaScript (javascript)
โ Step 7: Restart the system (recommended)
To clean up any lingering Hypervisor or DNS state:
sudo shutdown -r now
โ CRC Is Now Fully Removed
You’re now ready for a fresh CRC install or can switch back to Docker Desktop or another tool safely.
Iโm a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at Cotocus. I share tech blog at DevOps School, travel stories at Holiday Landmark, stock market tips at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow , and SEO strategies at Wizbrand.
Do you want to learn Quantum Computing?
Please find my social handles as below;
Rajesh Kumar Personal Website
Rajesh Kumar at YOUTUBE
Rajesh Kumar at INSTAGRAM
Rajesh Kumar at X
Rajesh Kumar at FACEBOOK
Rajesh Kumar at LINKEDIN
Rajesh Kumar at WIZBRAND