Post data output of uname instead of sudo sh
Opened this issue · 2 comments
EmilStenstrom commented
Prerequisites
- I searched to see if the issue already exists.
Description
Would it be possible the change the installation procedure, and remove the need for sudo sh, by posting the result of uname to the server?
I’m thinking something like this:
uname -s | curl --data-binary @- URL
Would that work and be worthwhile?
tj commented
Hmm yeah that could work! I guess the only downside is hurting the UX a bit, with having to -o
to your bin dir and chmod.
The sudo
is only necessary for the default /usr/local/bin though, we could maybe change that to ~/.bin
or something, I wish there was a standard dir already in PATH there
kakkoyun commented
~/.bin
idea is great. I think it shouldn't require sudo
by default. I really look forward to this improvement, this would simplify my CI and Makefile quite a bit.