Ark*_*007 3 macos xcode homebrew android homebrew-cask
我的brew安装卡在“/usr/bin/sudo /usr/bin/touch /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress” 我让笔记本电脑打开了几乎一天,但它没有前进
该脚本将安装:
/usr/local/bin/brew
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/site-functions/_brew
/usr/local/etc/bash_completion.d/brew
/usr/local/Homebrew
==> The Xcode Command Line Tools will be installed.
Press RETURN to continue or any other key to abort:
==> /usr/bin/sudo /usr/sbin/chown -R ab:admin /usr/local/Homebrew
==> Searching online for the Command Line Tools
==> /usr/bin/sudo /usr/bin/touch /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress
Run Code Online (Sandbox Code Playgroud)
“‘卡在这里’”
小智 5
我刚刚遇到这个问题,对我来说这基本上是因为无法安装 Xcode 命令行工具(brew 依赖于 xcode 命令行工具,因此如果缺少它,它会尝试安装它)。
我得到的解决方法是从https://developer.apple.com/download/all/下载 xcode 命令行工具并手动安装。然后运行brew installer 应该没问题。