Hacker News new | ask | show | jobs
by whatnotests 3273 days ago
try this:

curl https://example.com/file.sh | bash

If your shell script needs sudo access, just:

curl https://example.com/file.sh | sudo bash