1

How can I get /Users/username/depot_tools to be apart of the list when I enter the command echo $PATH. Currently this is what terminal gives me:

MacBook-Pro:~ bianca$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin

But what I want is:

/Users/bianca/depot_tools:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
Jahid
  • 19,822
  • 8
  • 86
  • 102
Bianca
  • 11
  • 1

1 Answers1

0
export PATH="/Users/username/depot_tools:$PATH"

You can also add this to your ~/.bashrc file to have it set whenever you start a terminal.

Also see How to correctly add a path to PATH?.

Community
  • 1
  • 1
Baris Demiray
  • 1,457
  • 24
  • 32