With my security hat on, I have significant misgivings about telling people they should simply trust whatever curl downloads without inspecting it first.
# make a sandbox
mkdir tmp$$
cd tmp$$
# download it
wget https://doma.in/path/to/somefile.bash
# read it
cat somefile.bash
# if you're sure that it won't drown your goldfish, go ahead and run it
bash somefile.bash
With my security hat on, I have significant misgivings about telling people they should simply trust whatever curl downloads without inspecting it first.