Install git 2.10.0 or above before install/running git-repo.

Download and Install git-repo

  1. Download the latest release of git-repo from:

    Choose the proper package according to your OS (Linux, Mac, or Windows) and architecture (amd or 386), download and extract the package.

  2. Make git-repo executable before install on Linux or macOS:

     $ chmod a+x git-repo
  3. Move git-repo into an executable PATH (e.g., /usr/local/bin for Linux or macOS, C:\Windows\system32 for Windows):

     $ sudo mv git-repo /usr/local/bin/