xcrun: error
After the input terminal git clone *****, Tip:
xcrun: error: invalid active developer path (/ Library / Developer / CommandLineTools), missing *****, solution, or less direct input terminal:
xcode-select --install
shell script
If you are prompted each time the terminal is opened:
The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s
/bin/zsh
`.
The reason is that the original use of the bash style shell prompt to advise on the new system has been replaced by zsh, please use this `chsh -s / bin / zsh` command to switch.
Solution:
(1) not using bash, switching zsh, `chsh -s / bin / zsh` command to switch to.
(2) continue to use the bash, but do not want a prompt, open the file:
vim ~/.bash_profile
.bash_profile file at the bottom add:
# macOS Catalina export BASH_SILENCE_DEPRECATION_WARNING=1
Then ESC: wq to save and exit and re-open a command line warnings disappear.
Related reference: https: //www.cnblogs.com/KuJo/p/11643142.html