Whenever I try to install something using sudo I get this error
-bash: sudo: command not found
If I do
echo $PATH it returns
I haven't been able to find any solutions online.
As a temporary solution, run this command:
sudo vi .bash_profile and place
/usr/bin at the end of what's already there. Press I in order to begin editing the document, Esc to stop, and type
:x to save and quit the editor.