Found the fix for the problem here.
xcode-select --install
This will bring up a prompt to install the necessary command line tools.
Found the fix for the problem here.
xcode-select --install
This will bring up a prompt to install the necessary command line tools.