Did you install Xcode? If not, please install it first from [https://apps.apple.com/jp/app/xcode/id497799835](https://apps.apple.com/jp/app/xcode/id497799835) And then, install 'Command Line Tools' by running the below command in the terminal.
xcode-select --install
