Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to install depot_tools here are the instructions.

I downloaded the file from this:

svn co http://src.chromium.org/svn/trunk/tools/depot_tools

I wanted to install it in /usr/local so I moved the download there via gui.

The next part is:

export PATH="$PATH":`pwd`/depot_tools

So I went into .bash_login and changed this:

export PATH="/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$PATH"

to this:

export PATH="/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$PATH:/usr/local/depot_tools"

Terminal wont recognize any of the commands gclient, gcl, git-cl, repo.

What am I doing wrong?

share|improve this question
up vote 1 down vote accepted

Did you source the ~/.bash_login after modifying it? Editing a file does not automatically load it into the current shell. Try running:

source ~/.bash_login

Just starting a new terminal emulator may not source ~/.bash_profile; it depends on how the terminal program is invoked.

share|improve this answer
Perfect, thanks. – ThomasReggi Oct 12 '11 at 3:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.