I hate this practice, no idea how it became commonplace. Of course lots of times, installation procedures can be long and tedious, but it takes one popular project's script server to be compromised, and tons of people are suddenly running malicious commands.<p>I would go through manually installing dependencies and setting up my system, adding repos, etc. over running some script any day. But then again some projects wouldn't be that popular if they were hard to install.<p>Some of npm's installation instructions ask you to pipe curl into bash, to run a lovely script [0] which makes things easier for you, but not by much. Is it really necessary? Would developers give up trying to get npm and node just because installing not as easy as "curl <a href="https://some.script.com/that-script.sh" rel="nofollow">https://some.script.com/that-script.sh</a> | sudo -E bash -; sudo apt-get install npm"?<p>Other than building/installing programs, adding GPG/SSH keys like in the blog post can be as dangerous, and while not simple, there could be some method built to make things easier without having to run commands you don't even check.<p>Anyways, hope projects grow out of this habit.<p>[0] <a href="https://deb.nodesource.com/setup_6.x" rel="nofollow">https://deb.nodesource.com/setup_6.x</a>