Другие альтернативы:
curl http://foo.com/script.sh | bash /dev/stdin arguments bash <( curl http://foo.com/script.sh ) arguments