less than 1 minute read

If you get the following error with npm install


xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory'/Library/Developer/CommandLineTools' is a command line tools instance

then to fix it try

  1. (optional) Install Xcode - go to the AppStore and download the Xcode.
  2. Point the xcode-select developer directory to the appropriate directory from within Xcode.app. To do this, run
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer

Leave a comment