How to update Xcode Command Line Tools?

For future travelers, here’s a version-agnostic approach. First, run softwareupdate –list. This will probably take a couple of minutes. When it’s done, you’ll see a bulleted (with an asterisk) output like this: $ softwareupdate –list Software Update Tool Finding available software Software Update found the following new or updated software: * Command Line Tools (macOS … Read more

xcrun: error: unable to find utility “xctest”, not a developer tool or in PATH

Assuming you already have Xcode installed: Start Xcode, select “Preferences -> Locations”. Chances are that your Command Line Tools are not set. Select the suggested Xcode-tools location and you are done. Additional: You could check with: xcode-select -p which tools are set, mine showed: /Library/Developer/CommandLineTools After the location in the preferences was set, it showed: … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)