Why does sudo not work with curl?
Use sudo after the pipe:
curl roots.cx/get | sudo sh
the get script involves some installation, requires sudo to run.
Alternatively you can use:
sudo \curl roots.cx/get | sh
Use sudo after the pipe:
curl roots.cx/get | sudo sh
the get script involves some installation, requires sudo to run.
Alternatively you can use:
sudo \curl roots.cx/get | sh