I am looking for a bash sequence that would tell me if xcode command line tools are installed or not (exit code 0 if they are, something different if not).
Asked
Active
Viewed 1,867 times
1 Answers
0
You can check if Xcode Command Line Tools are installed by entering on Terminal:
xcode-select -p
To install them, simply run:
xcode-select --install

lucasarruda
- 1,462
- 1
- 25
- 45