Mac - macOS Catalina 업그레이드 후 터미널 평가판 문제

1193 단어

xcrun: error


터미널에서 git clone ******를 입력하면 다음과 같은 메시지가 표시됩니다.
xcrun: error: invalid active developer path(/Library/Developer/CommandLineTools),missing*****, 해결 방법은 터미널에 직접 입력하면 됩니다.
xcode-select --install

셸 스크립트 문제


터미널을 열 때마다 다음과 같은 메시지가 표시됩니다.The default interactive shell is now zsh. To update your account to use zsh, please run `chsh -s  /bin/zsh `.

bash , shell zsh, `chsh -s /bin/zsh` 。

(1) bash, zsh,`chsh -s /bin/zsh` 。

(2) bash, , :

vim ~/.bash_profile

.bash_profile :

# macOS Catalina
export BASH_SILENCE_DEPRECATION_WARNING=1

ESC  :wq , 。

 

:https://www.cnblogs.com/KuJo/p/11643142.html

좋은 웹페이지 즐겨찾기