summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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```