# xcrun: error: invalid active developer path, missing xcrun [TOC] ###### tags: `macOS` --- ## 發生情境 執行 Homebrew 指令時,例如: ```shell $ brew update ``` ## 錯誤訊息 ``` xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun ``` ## 解決方式 重新安裝 Xcode: ```shell $ xcode-select --install ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up