arduino-esp32/docs/arduino-ide/mac.md
Rouan van der Ende a7108969a3 Missing missing xcrun fix. (#601)
Had to run "xcode-select --install" before your script worked.
2017-08-31 15:56:47 +03:00

813 B

Installation instructions for Mac OS

  • Install latest Arduino IDE from arduino.cc

  • Open Terminal and execute the following command (copy->paste and hit enter):

    mkdir -p ~/Documents/Arduino/hardware/espressif && \
    cd ~/Documents/Arduino/hardware/espressif && \
    git clone https://github.com/espressif/arduino-esp32.git esp32 && \
    cd esp32/tools/ && \
    python get.py
    
  • If you get the error below. Install the command line dev tools with xcode-select --install and try the command above again:

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

xcode-select --install

  • Restart Arduino IDE