# Install repo with Homebrew, apk, apt, dnf, MacPorts, pacman

Repository tool for Android development. Version 2.65 via Homebrew; verified 2026-07-06. Also installable with debian: sudo apt install repo.

## Install

```sh
sudo av install brew:repo
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install repo
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install repo
```

  Evidence: MacPorts ports tree: python/repo/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add repo
```

  Evidence: Alpine Linux edge package indexes: repo from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install repo
```

  Evidence: Debian stable package indexes: repo from https://deb.debian.org/debian/dists/stable/contrib/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install repo
```

  Evidence: Fedora Rawhide package metadata: repo from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- pacman (92%):

```sh
sudo pacman -S repo
```

  Evidence: Arch Linux sync databases: repo from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## Package facts

- **Package key:** brew:repo
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/repo>
- **Version:** 2.65
- **Source summary:** Repository tool for Android development
- **Homepage:** <https://source.android.com/source/developing.html>
- **Repository:** <https://gerrit.googlesource.com/git-repo>
- **Upstream docs:** <https://gerrit.googlesource.com/git-repo/+/HEAD/README.md>
- **License:** Apache-2.0
- **Source archive:** <https://gerrit.googlesource.com/git-repo.git>
- **Last updated:** 2026-07-06T21:39:16Z
- **Generated:** 2026-07-25T07:20:51+00:00

## Executables

- repo (cli)
- repo (alias)

## Uses from macOS

- python

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-07-25
- Package-manager version: 2.65
- Package-manager updated: 2026-07-06
- Local data: ok
- Upstream repository: https://source.android.com/source/developing.html
- info: Release/tag comparison is only available for GitHub repositories.

## Security Notes

No matching local secret-handling manifest was found for repo. Nucleus package metadata is still published here so future coverage has a stable package URL.



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: .repo/
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** repo
- **Version Scheme:** 1
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Debian apt - repo - 2.54-1: normalized package name match | Debian stable package indexes: repo from https://deb.debian.org/debian/dists/stable/contrib/binary-amd64/Packages.xz | repository management tool built on top of git | https://source.android.com/source/developing.html
- Ubuntu apt - repo - 2.36.1-1: normalized package name match | Ubuntu 24.04 LTS package indexes: repo from https://archive.ubuntu.com/ubuntu/dists/noble/multiverse/binary-amd64/Packages.gz | repository management tool built on top of git | https://source.android.com/source/developing.html
- apk - repo - 2.64-r0: normalized package name match | Alpine Linux edge package indexes: repo from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | repository management tool built on top of git | https://gerrit.googlesource.com/git-repo
- apk - repo-doc - 2.64-r0: normalized package name match | Alpine Linux edge package indexes: repo-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | repository management tool built on top of git (documentation) | https://gerrit.googlesource.com/git-repo
- dnf - repo - 2.64-1.fc45: normalized package name match | Fedora Rawhide package metadata: repo from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Repository management tool built on top of git | https://gerrit.googlesource.com/git-repo
- pacman - repo - 2.62-1: normalized package name match | Arch Linux sync databases: repo from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | The Multiple Git Repository Tool from the Android Open Source Project | https://android.googlesource.com/tools/repo
- MacPorts - repo: normalized package name match | MacPorts ports tree: python/repo/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [braid](https://www.automicvault.com/pkg/brew/braid/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [codeberg-cli](https://www.automicvault.com/pkg/brew/codeberg-cli/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [dura](https://www.automicvault.com/pkg/brew/dura/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [kommit](https://www.automicvault.com/pkg/brew/kommit/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [lab](https://www.automicvault.com/pkg/brew/lab/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [lazygit](https://www.automicvault.com/pkg/brew/lazygit/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [libgit2](https://www.automicvault.com/pkg/brew/libgit2/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [microplane](https://www.automicvault.com/pkg/brew/microplane/) - Shares av.db curated category or tags: cli, developer-tools, git, repository-management, version-control.
- [git-url-sub](https://www.automicvault.com/pkg/brew/git-url-sub/) - Local package facts share a topical domain. Shared terms: cli, control, developer, developer-tools, git.

## Combined YAML source

View the package source record on GitHub. [combined/repo.yml](https://github.com/automic-vault/db/blob/main/combined/repo.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
