Closed feep closed 3 years ago
(private) Discord:
b5: naw. I'm not a fan of putting sudo as part of a "run this, it's no big deal" b5: we should instead make the script smarter
...
feep: Brew checks for admin rights, then tells you to type sudo anyway. =] b5: yeah, let's do what brew does
The Homebrew install probably requires bash
. Their oneliner does not pipe to sh
.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
Environment
What is your OS and version?
I believe
install.sh
would fail on any sane Linux system withoutsudo
.Without testing, I am pretty sure it would fail on a stock macOS install. One that hasn't had permissions weakened for Homebrew.
Issue
What did you do?
I ran the
curl
one-liner install from the home page.curl -fsSL https://qri.io/install.sh | sh
What happened?
What did you expect to happen?
Successful install. Or at least catch the error and suggest
sudo
.Do you have a suggested fix?
Either:
sudo
into the onelinerbin
location. I do not think there is a reliable standard for this.