When I need to install Node packages or doing something like
composer self-update I have to prefix all commands with
How can I reconfigure my Vagrant instance (or the Ubuntu 14 OS) to ignore the need for
sudo when connected via SSH?
I tried the following already:
sudo chown -R $USER /usr/local
However, I am getting permission problems when any Node packages try to install any other packages (such as Yeoman generators).