Is there a way to install gcc in OSX without installing Xcode? June 1, 2023 by Tarik Checkout command line tools for Xcode from apple. It’s official support from apple to only create the command line tools.