Install things that provide standalone binaries on GitHub releases:
$ sh <(curl https://yoink.sh) mxcl/brewx
installed: ~/.local/bin/brewxThis installs brewx but it doesn’t install
yoink itself:
$ which yoink
yoink not found # `yoink` NOT YOINKEDYou can install yoink with yoink if you like:
$ sh <(curl https://yoink.sh) mxcl/yoink
installed: ~/.local/bin/yoinkIt does package managery stuff too:
$ yoink ls
mxcl/brewx@0.4.2
mxcl/yoink@0.1.0
$ yoink upgrade
# ^^ upgrades everything installed (if possible)
$ yoink rm mxcl/brewx
# ^^ removes brewxAlternatively, you can just run things:
$ sh <(curl https://yoink.sh) denoland/deno eval 'console.log("hi")'
hi
$ which deno
deno not found
$ sh <(curl https://yoink.sh) mxcl/yoink
$ yoink denoland/deno eval 'console.log("hi")'
hi
$ which deno
deno not found
$ which yoink
~/.local/bin/yoink
$ yoink rm mxcl/yoink
$ which yoink
yoink not foundGo wild.
$ sh <(curl https://yoink.sh) mxcl/brewx npx cowsay hi yoinksters
_______________
< hi yoinksters >
---------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||YOINKDIR - where to install things, defaults to ~/.local/bin, if you set
it to somewhere that requires sudo it will invoke sudo for the minimal
mkdir -p and atomic mv commands required to move the binary into place.
- I tried all the others and they sucked.
- We provide a curl one-liner so you don’t even need to install yoink to use it. Which is especially nice for READMEs.
- If you pass args after
owner/repo, yoink runs the binary without installing it.
Report the bug! We’re literally pre 1.0 and open source here!