Hacker News new | ask | show | jobs
by flaque 3426 days ago
Okay, I made a github pages site for it: https://flaque.github.io/thaum/

Is using `wget` or `curl` the correct way to distribute the binary?

1 comments

curl should be fine, might I suggest changing your instructions from:

curl "https://github.com/Flaque/thaum/releases/download/v0.2.0-bet... -o "/usr/local/bin/thaum"

to use sudo and chmod because root owns `/usr/local/bin` by default:

sudo curl "https://github.com/Flaque/thaum/releases/download/v0.2.0-bet... -o "/usr/local/bin/thaum" && sudo chmod +x /usr/local/bin/thaum

I was worried about asking people to use sudo, but I think you're right. I'll do that. Thanks!