development – How to install clang (11) without xcode?

My brother gave me ssh access to his macbook (uname -a says 19.6.0). I’d like to compile a few simple c files with clang (specifically clang and not gcc). I grabbed the clang 11 mac binary from the official site and move all the folders into /usr/local/. which clang gives me /usr/local/bin/clang. If I do clang main.c it just hangs. Even clang --version hangs

How do I properly install this? There’s no xcode or developers tools on it