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
0

1 Answer 1

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?.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.