sjbonner / mark-on-mac

5 stars 0 forks source link

/bin/bash: -fsSL: command not found #3

Closed andrew-pettit closed 1 year ago

andrew-pettit commented 1 year ago

I have a M1 Mac and when I try to install the intel versions of homebrew I get this issue:

arch --x86_64 /bin/bash -c "($curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

/bin/bash: -fsSL: command not found

I haven't done anything ever to my terminal besides this.

Thank you!

sjbonner commented 1 year ago

Hi @andrew-pettit. I believe there is a typo in the instructions. The $ should come before the ( not after. Can you try the following and let me know if it works?

arch --x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Thanks!

andrew-pettit commented 1 year ago

That works! Thank you so much! I greatly appreciate it

sjbonner commented 1 year ago

Excellent. Thanks for helping to fix the bug.