curl - 在:/Library/Developer/CommandLineTools/usr/bin/xcrun Failed to clone nvm repo上缺少xcrun

标签 curl terminal nvm xcrun

**

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/

相关文章:

linux - cURL 上传/下载速度测试

android - sentry-debug-meta.properties 文件的写法

c++ - 是否可以创建比屏幕更大的 Windows 终端? C++

curl - 如何在 meteor HTTP 包中转换这个 curl?

php - 从 GCM 传递多个通知

javascript - Node 的计时器不按照文档运行

node.js - npm 链接重新创建 .nvm 目录

node.js - 如何使用 nvm 使用不同版本的 Node 运行 npm 命令?

curl - Windows服务器如何发送HTTP删除方法

bash - 使用 sudo 运行时我的 shell 脚本出了什么问题?