How do I delete DDC on Mac OS?

I’m a new user of Unreal. My Mac Pro is running out of space. I’m guessing Unreal Derived Data Cache is taking a lot of space. I can only find guides on how to change DDC path on Windows, but not on Mac OS. Is there anyone know where Unreal saves its DDC on Mac OS? I need to delete them to release space on my computor.
I’ve just change the cache path in the preference and seems to work. The new cache is now saved on my hard drive. Now I just need to find the old Cache and delete them all to release space.

Many thanks if anyone could help me!

/Users/YourName/Library/Application Support/Epic/UnrealEngine

I think it’s save to remove the old versions.