Githubusercontent Com _best_ - Https Raw

curl -sSL https://raw.githubusercontent.com/user/repo/main/script.sh | bash # This executes the actual script.

If you want to run a script directly from GitHub without downloading it first, you must use the raw link. https raw githubusercontent com

Alex used raw links to host a small CSS file for a personal website, to fetch a list of country names in a JavaScript game, and to share a one-click install script with friends. curl -sSL https://raw