mill icon indicating copy to clipboard operation
mill copied to clipboard

Manual installation instructions on website need a little work

Open readyready15728 opened this issue 4 years ago • 0 comments

The suggested code:

sudo curl -L https://github.com/lihaoyi/mill/releases/download/0.7.3/0.7.3 > /usr/local/bin/mill && sudo chmod +x /usr/local/bin/mill

...doesn't work. This is because elevation of permissions from sudo doesn't apply to shell redirection. The following works just fine however:

curl -L https://github.com/lihaoyi/mill/releases/download/0.7.3/0.7.3 2> /dev/null | sudo tee /usr/local/bin/mill > /dev/null && sudo chmod +x /usr/local/bin/mill

readyready15728 avatar Jun 16 '20 20:06 readyready15728