How can I safely delete the command line tools from my disk?

I'm on MacOS 12.6, where /library/developer/CommandLineTools tools installed by Playdate take up 2.4Gb. I no longer plan to develop for playdate and would like to reclaim this disk space. Can I delete this directory along with Users/me/Developer? (I don't have Xcode installed and don't do Mac or iOS development) Any other directories I need to deinstall?

In addition to those directories you can also delete /usr/local/playdate/ and the arm tool symlinks in /usr/local/bin.