Oma*_*_IB 8 bash terminal homebrew curl
我尝试在我的 mac 上安装 homebrew,但我无法安装,因为找不到 curl。我输入:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Run Code Online (Sandbox Code Playgroud)
这返回了这个错误:
-bash: curl: command not found
Run Code Online (Sandbox Code Playgroud)
所以,我尝试安装curl,但显然要安装curl,我需要使用curl?这是我发现的:
在终端应用程序中运行:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null跑步:
brew install curl完毕!您现在可以使用
curl.
但是,这使用curl来安装curl,因此它给出了相同的错误消息:-bash: curl: command not found
TL;DR,如何在不使用curl的情况下在mac上安装curl
Oma*_*_IB 10
我解决了问题!
\n\n在 Mac 上使用 bash:
\n\nShells open with:并将其设置为Command (complete path)输入以下内容之一:
\n\n/bin/ksh 为我工作
\n\n\n