2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

macOS Catalinaにしたらgitコマンドでエラーが発生

2
Posted at

事象

macOS Catalinaにアップデートした後、gitコマンドを実行したらエラーとなった

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

CommandLineToolsがないのかな???

解決方法

以下のコマンドを実行してCommandLineToolsをインストールした

xcode-select --install

実行結果は以下となる

xcode-select: note: install requested for command line developer tools

gitコマンドが使えるようになった!

$ git --version
git version 2.21.0 (Apple Git-122)

良かった良かったー

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?