diff options
| -rw-r--r-- | README.md | 19 |
1 files changed, 19 insertions, 0 deletions
| @@ -14,3 +14,22 @@ that you can put anywhere in your path. | |||
| 14 | * [repo Manifest Format](./docs/manifest-format.md) | 14 | * [repo Manifest Format](./docs/manifest-format.md) |
| 15 | * [repo Hooks](./docs/repo-hooks.md) | 15 | * [repo Hooks](./docs/repo-hooks.md) |
| 16 | * [Submitting patches](./SUBMITTING_PATCHES.md) | 16 | * [Submitting patches](./SUBMITTING_PATCHES.md) |
| 17 | |||
| 18 | ## Install | ||
| 19 | |||
| 20 | Many distros include repo, so you might be able to install from there. | ||
| 21 | ```sh | ||
| 22 | # Debian/Ubuntu. | ||
| 23 | $ sudo apt-get install repo | ||
| 24 | |||
| 25 | # Gentoo. | ||
| 26 | $ sudo emerge dev-vcs/repo | ||
| 27 | ``` | ||
| 28 | |||
| 29 | You can install it manually as well as it's a single script. | ||
| 30 | ```sh | ||
| 31 | $ mkdir -p ~/.bin | ||
| 32 | $ PATH="${HOME}/.bin:${PATH}" | ||
| 33 | $ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/.bin/repo | ||
| 34 | $ chmod a+rx ~/.bin/repo | ||
| 35 | ``` | ||
