I am unable to install Homebrew(http://brew.sh/) using the fish command shell (http://fishshell.com/) on my Mac. Here is the error I get:
$(...) is not supported. In fish, please use '(curl)'.
fish: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Please suggest!
Start bash and execute the unmodified command line.
Bash supports the syntax $(command)
to return the text result of a command. Fish doesn't, but instead uses (command)
.
In Fish, command substitutions are just in parentheses, without the leading $
. This should work:
ruby -e "(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Or you can just run that command from bash:
bash
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
exit
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With