You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

安装brew coreutils报错:无可用匹配公式,求助解决

解决brew安装coreutils失败的方案
  • 更新brew索引
    先确保本地brew公式列表是最新的,执行:

    brew update
    

    若更新慢或失败,可切换国内镜像源(以清华镜像为例):

    git -C "$(brew --repo homebrew/core)" remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git
    brew update
    
  • 确认homebrew/core tap已添加
    检查并添加官方核心tap:

    brew tap homebrew/core
    

    之后再次尝试安装:

    brew install coreutils
    
  • 安装4ndr34z的第三方coreutils
    直接通过tap安装:

    brew tap 4ndr34z/coreutils
    brew install 4ndr34z/coreutils/coreutils
    

    若tap安装失败,可手动克隆仓库本地安装:

    git clone https://github.com/4ndr34z/homebrew-coreutils.git
    cd homebrew-coreutils
    brew install ./coreutils.rb
    
  • 排查brew自身问题
    执行诊断命令修复可能的brew损坏或配置问题:

    brew doctor
    

    根据输出提示完成修复后,再尝试安装操作。

内容的提问来源于stack exchange,提问作者tedd666

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.09 02:10:33