Download and Execute Bash Scripts from Github Gist
Table of Contents
Download and Execute Bash Scripts from Github Gist
# Latest version without hash
curl -fsSL https://gist.githubusercontent.com/mwufi/gist-url/raw/script-name.sh | sh
# Specific version with hash
curl -fsSL https://gist.githubusercontent.com/mwufi/gist-url/raw/hash/script-name.sh | sh
Curl Options
See tsuji.tech/curl-options-fssl for a breakdown of the -fsSL
options used with the curl
command.