Hacker News new | ask | show | jobs
by peterwwillis 2808 days ago
This command actually fails if /usr/local/bin doesn't exist. He could simplify it by releasing the binary alone and running `curl -L --create-dirs -o /usr/local/bin/mole https://...`, but my guess is uncompressed it's huge. (edit: possible that the GitHub server would support `curl --compressed ...`, allowing the HTTP connection to compress it in transit)
1 comments

That is already supported:

curl -L https://github.com/davrodpin/mole/releases/download/v0.2.0/m... | tar xz -C /usr/local/bin

And there are plans to implement a script to improve this process: https://github.com/davrodpin/mole/issues/19