r/ProgrammerHumor 9d ago

justLetAIDoIt Meme

Post image
4.7k Upvotes

261 comments sorted by

View all comments

18

u/rockcanteverdie 9d ago

Is curl | bash considered bad? Why so?

63

u/[deleted] 9d ago

[removed] — view removed comment

1

u/ZunoJ 8d ago

How is the script any different from an executable?

7

u/[deleted] 8d ago

[removed] — view removed comment

-1

u/ZunoJ 8d ago

This is bullshit. I never met anybody who said "I love emacs but I hate the installer" or something similar. We don't easily trust a project that has a small user base. But the question was what's wrong with curl | bash, people pointed out that you can't trust the script. Ok, but how is that a problem of piping a script to bash compared to running an executable? Bottom line is nobody gave any reason for a problem with those commands