How to install Google repo?

Viewed 4579

I am trying to install google repo on my machine. The reference link is http://source.android.com/source/downloading.html#installing-repo

After chmod a+x ~/bin/repo, and after installing repo go ahead with further steps.

Do I have execute the repo file? I just understood that I need to install repo before proceeding to further steps but how? I am new to mac and have no idea how to execute a file.

2 Answers

You can type in terminal the following comands:

   curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
   chmod a+x ~/bin/repo
Related