LoginSignup
53
27

More than 5 years have passed since last update.

macOS MojaveにしたらGitコマンドが動かなくなった

Last updated at Posted at 2018-09-25

さっそくMojaveにアップデートしたんですけど、

人柱覚悟でさっそくmacOS Mojaveにしてみました。

恒例っぽいですがGitコマンドが動かなくなったのでまたメモです。内容は全く同じ。

macOS SierraにしたらGitコマンドが動かなくなった

$ git

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

以下のコマンドで直ります

xcode-select --install

インストーラーが立ち上がるのでインストールすればOKです。

無事にインストールできました。

$ git version

git version 2.17.1 (Apple Git-112)

早速ダークモード使ってみてますが、今の所は新鮮さを感じてるくらいですね笑

53
27
3

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
53
27