Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/macos/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Macos 自制软件安装_Macos_Homebrew - Fatal编程技术网

Macos 自制软件安装

Macos 自制软件安装,macos,homebrew,Macos,Homebrew,所以我试着安装ruby,我听说自制是最简单的方法。然而,当我试图安装时,似乎什么也没有发生,以下是我在终端中所做的 Last login: Wed Jul 20 20:37:17 on ttys011 Archie-Hyndmans-MacBook-Air:~ moo$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" ==> This scr

所以我试着安装ruby,我听说自制是最简单的方法。然而,当我试图安装时,似乎什么也没有发生,以下是我在终端中所做的

Last login: Wed Jul 20 20:37:17 on ttys011
Archie-Hyndmans-MacBook-Air:~ moo$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
==> This script will install:
/usr/local/bin/brew
/usr/local/Library/...
/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

Press RETURN to continue or any other key to abort
==> Searching online for the Command Line Tools
==> /usr/bin/sudo /usr/bin/touch /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress
Password:
sh: fork: Resource temporarily unavailable
==> Installing 
==> /usr/bin/sudo /usr/sbin/softwareupdate -i 
Software Update Tool
Copyright 2002-2015 Apple Inc.

我不确定这是否意味着它已经完成或仍在做任何事情,或者是否有错误,如果这是一个糟糕的问题,我表示歉意,但我一直在到处寻找答案。

很高兴您也包括了所有的命令行错误!谢谢我试着尽我所能,希望有人能帮助我!如果您还没有这样做,则需要转到AppStore下载并安装
Xcode
。然后在Terminal
xcode select--install
非常感谢@MarkSetchell!中运行以下命令:o我从网站上下载了测试版,所以当我去下载时,它说是查找软件,现在它已经全部修复。真的非常感谢你!