Table of Contents

Github GistからBashスクリプトをダウンロードして実行

# ハッシュなしの最新バージョン
curl -fsSL https://gist.githubusercontent.com/mwufi/gist-url/raw/script-name.sh | sh

# ハッシュ付きの特定バージョン
curl -fsSL https://gist.githubusercontent.com/mwufi/gist-url/raw/hash/script-name.sh | sh

Curlオプション

curlコマンドで使用される-fsSLオプションの詳細については、tsuji.tech/curl-options-fsslを参照してください。