2
votes
2answers
989 views

Source a script from a URL in bash

I gather this should work in bash: source <(curl -s https://example.com/script.sh) or bash <(curl -s https://example.com/script.sh) or curl -s https://example.com/script.sh | source ...