How to delete Xcode simulators

Simulators for ios devices in Xcode can take up a lot of space on your hard drive. V13 alone takes over 6gb on my drive. There doesn’t seem to be an easy way to delete them through Xcode. However, you can safely remove them via the command line by navigating to their directory and deleting them like so:

cd /Library/Developer/CoreSimulator/Profiles/Runtime rm iOS\ 13.2.simruntime/