Install Xcode Mac terminal code example
Example 1: install xcode tools using brew
xcode-select --install
Example 2: install xcode terminal
sudo xcode-select -switch /Applications/Xcodex.x.x.app
for more info
https://www.freecodecamp.org/news/how-to-download-and-install-xcode/