Reputation:
I type in Terminal:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
and I get back
illegal variable name
Any recommendations?
Upvotes: 1
Views: 883
Reputation: 564
Simply open the terminal. Write the command as
bash
and press Enter button. Paste the same command as -
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Upvotes: 1
Reputation: 303
Maybe this is the same issue? https://discourse.brew.sh/t/illegal-variable-name-error-mac-high-sierra/3361/2.
could you run bash before pasting /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" there?
Upvotes: 2