Chromium and Chromium OS use a package of scripts called depot_tools to manage checkouts and code reviews. If you want more details about depot_tools, you can check the depot_tools information page. The depot_tools package includes gclient, gcl, git-cl, repo, and others.
Steps for installing
Retrieve depot_tools; select one of these ways:
Read only checkout (if you don't plan to commit changes back to depot_tools right away, you should do this): svn co http://src.chromium.org/svn/trunk/tools/depot_tools
Writable checkout (if you intend to update depot_tools): svn co svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Download depot_tools.zip or depot_tools.tar.gz and decompress it. Windows users: If you don't have Subversion installed already, use this option. The first run of gclient will install svn for you. Make sure not to use Cygwin's unzip when expanding the depot_tools archive. If you see strange errors with the file system on the first run of gclient, you may want to disable Windows Indexing.
Add depot_tools to your PATH:
For example, for the default bash shell, use: $ export PATH=`pwd`/depot_tools:"$PATH"
Optional: You may want to add this to your .profile file or your shell’s equivalent so that you don’t need to reset your $PATH manually each time you open a new shell.