无法安装 Homebrew + Fish Terminal (Mac)

Act*_*tty 4 macos homebrew command-line

我无法在 Mac 上使用 fish 命令外壳 ( http://fishshell.com/ )安装 Homebrew ( http://brew.sh/ ) 。这是我得到的错误:

$(...) is not supported. In fish, please use '(curl)'.

fish: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Run Code Online (Sandbox Code Playgroud)

请建议!

zne*_*eak 7

启动 bash 并执行未修改的命令行。

Bash 支持$(command)返回命令文本结果的语法。Fish 没有,而是使用(command).