**
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash
**
当我在Mac上运行此代码时,出现错误
crun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun Failed to clone nvm repo. Please report this!
如何解决这个问题?
最佳答案
我通过打开终端并运行命令来解决此问题:
xcode-select --install
关于curl - 在:/Library/Developer/CommandLineTools/usr/bin/xcrun Failed to clone nvm repo上缺少xcrun,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58308715/