Today, again, I forgot the command to install Command Line Tools and had to search for it.

This is post if for future me.

You always forget how to install XCode Command Line Tools when a new macOS release comes out… specially because this always happens when you’re in a hurry, and obviously you forgot to run this earlier.



As you know, its a simple command that you just can’t remember when you need:

$ xcode-select --install

You know sometimes it fails and you might also need to reset if first:

$ sudo xcode-select --reset

Last but not least, on betas, sometimes, you might need to download it directly from Apple developers downloads page, which is a page you always take a couple of minutes to find on Google, for whatever reason. So, saved you a Google search.