Hacker News new | ask | show | jobs
by kramerger 1103 days ago
> do not run random net stuff (like scripts, “Git” etc.)

Man, half of the cool tools want me to do this

   curl cool-company.io | sh
3 comments

That's how Rust installs. I'm not that happy with it but at the time (years ago) the distro (Debian) packages were incomplete. From https://www.rust-lang.org/tools/install

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

At least it does not require sudo (unless that's buried in the script.)

It does not require sudo, by design.
Usually I look for alternative way - like zipped binaries or similar. Most of the developers offer it.
Stay away from them.