Skip to content

Latest commit

 

History

History
executable file
·
21 lines (14 loc) · 906 Bytes

Command Line Tools.md

File metadata and controls

executable file
·
21 lines (14 loc) · 906 Bytes

Command Line Tools

macOS will alert you when you enter a command in Terminal that requires Command Line Tools. You should cancel and install Command Line Tools manually first.

Install Command Line Tools manually with xcode-select.

xcode-select --install

Verify the installation.

xcode-select --print-path

This command displays the location of the currently active developer directory, which by default is /Applications/Xcode.app/Contents/Developer if Xcode is installed. However, the Command Line Tools installed with xcode-select are found in /Library/Developer/CommandLineTools. If xcode-select -p still identifies the Xcode path as the active developer directory, use xcode-select -switch to make the separately installed version active.

sudo xcode-select --switch /Library/Developer/CommandLineTools/