xcrun: error: invalid active developer path

新しいmacの設定

適当なシェルを書いて実行しようとしたら

[code lang=text] xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun [/code]

結論 xcodeをインストールしてあぐりーしましょう

たしかOSアップデートでもでた気がするのでメモ