← Back to context Comment by fragmede 2 months ago It's curl | sudo bash.Amateur. 7 comments fragmede Reply raesene9 2 months ago So old school, now we get install lines like Tell Opencode to "Fetch and follow instructions from https://raw.githubusercontent.com/obra/superpowers/refs/head..."From a real repo, with 186K stars... https://github.com/obra/superpowers fmbb 2 months ago I always sudo curl to be extra sure. naruhodo 2 months ago Weak sauce.curl | sudo dd of=/dev/sda walrus01 2 months ago To be really sure it downloads, curl -k | sudo bash scrollaway 2 months ago `curl -k | sudo bash | yes` for good measure, otherwise it might hang. somebudyelse 2 months ago If you really want to make sure that it's the right thing (because piping to sudo bash is risky), make sure the URL starts with "pastebin", or ends in ".tk", or is an IP address. 1 reply →
raesene9 2 months ago So old school, now we get install lines like Tell Opencode to "Fetch and follow instructions from https://raw.githubusercontent.com/obra/superpowers/refs/head..."From a real repo, with 186K stars... https://github.com/obra/superpowers
walrus01 2 months ago To be really sure it downloads, curl -k | sudo bash scrollaway 2 months ago `curl -k | sudo bash | yes` for good measure, otherwise it might hang. somebudyelse 2 months ago If you really want to make sure that it's the right thing (because piping to sudo bash is risky), make sure the URL starts with "pastebin", or ends in ".tk", or is an IP address. 1 reply →
scrollaway 2 months ago `curl -k | sudo bash | yes` for good measure, otherwise it might hang. somebudyelse 2 months ago If you really want to make sure that it's the right thing (because piping to sudo bash is risky), make sure the URL starts with "pastebin", or ends in ".tk", or is an IP address. 1 reply →
somebudyelse 2 months ago If you really want to make sure that it's the right thing (because piping to sudo bash is risky), make sure the URL starts with "pastebin", or ends in ".tk", or is an IP address. 1 reply →
So old school, now we get install lines like Tell Opencode to "Fetch and follow instructions from https://raw.githubusercontent.com/obra/superpowers/refs/head..."
From a real repo, with 186K stars... https://github.com/obra/superpowers
I always sudo curl to be extra sure.
Weak sauce.
curl | sudo dd of=/dev/sda
To be really sure it downloads, curl -k | sudo bash
`curl -k | sudo bash | yes` for good measure, otherwise it might hang.
If you really want to make sure that it's the right thing (because piping to sudo bash is risky), make sure the URL starts with "pastebin", or ends in ".tk", or is an IP address.
1 reply →