- This will make sure that
/usr/local/bin
is part ofPATH
for all shells started/Terminal tabs created after the line has been executed.
sudo sh -c 'grep -q "/usr/local/bin" /etc/paths || echo "/usr/local/bin" >> /etc/paths'
/usr/local/bin
is part of PATH
for all shells started/Terminal tabs created after the line has been executed.sudo sh -c 'grep -q "/usr/local/bin" /etc/paths || echo "/usr/local/bin" >> /etc/paths'