summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Frysinger <vapier@google.com>2019-11-18 02:27:57 -0500
committerMike Frysinger <vapier@google.com>2019-11-18 19:17:48 +0000
commit34bc5712eb7e09f9fc5b39ae78786775ad3023e8 (patch)
treed681b24fdaed87f6e97ec71afa516c07eafb9e14
parent70c54dc2550084ed022a2f134065a011f37f30aa (diff)
downloadgit-repo-34bc5712eb7e09f9fc5b39ae78786775ad3023e8.tar.gz
README: add install detailsv1.13.8
Change-Id: I57043449a7927068fa5735cb71633353e1039532 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/245816 Reviewed-by: David Pursehouse <dpursehouse@collab.net> Tested-by: Mike Frysinger <vapier@google.com>
-rw-r--r--README.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/README.md b/README.md
index acd48036..316b93a9 100644
--- a/README.md
+++ b/README.md
@@ -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
20Many 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
29You 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```