

curl -sfL https://get.k3s.io/ | sh -
Never, ever install anything this way. The trend of “just run this shell script off the internet” is a menace. You don’t know what that script does, what repositories it may add, what it may install, whether somebody is typo-squatting the URL and you’re running something else, etc.
It’s just a bad idea. If you disagree then I have one question - how would you uninstall k3s after you ran that blackbox?
I really want to push back on the entire idea that it’s okay to distribute software via a
curl | sh
command. It’s a bad practice. I shouldn’t be reading 100’s of lines of shell script to see what sort of malarkey your installer is going to do to my system. This application creates an uninstall script. Neat. Many don’t.Of the myriad ways to distribute Linux software (deb, rpm, snap, flatpak, AppImage) an unstructured shell script is by far the worst.