Good question, I personally find gVisor-like [0] snippets that suggests to copy & paste in order to install the program as the most pleasant way:
(
set -e
URL=https://storage.googleapis.com/gvisor/releases/release/latest
wget ${URL}/runsc ${URL}/runsc.sha512
sha512sum -c runsc.sha512
rm -f runsc.sha512
sudo mv runsc /usr/local/bin
sudo chmod a+rx /usr/local/bin/runsc
)
Thanks to the used parentheses it feels like a "one-liner" script. Is there any better way to share installation script?