# Install ghorg with Homebrew, Nix, scoop

Quickly clone an entire org's or user's repositories into one directory. Version 1.11.12 via Homebrew; verified 2026-06-27.

## Install

```sh
sudo av install brew:ghorg
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install ghorg
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#ghorg
```

  Evidence: nixpkgs package indexes: pkgs/by-name/gh/ghorg/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Scoop (92%):

```sh
scoop install main/ghorg
```

  Evidence: Scoop official bucket manifest trees: bucket/ghorg.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:ghorg
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/ghorg>
- **Version:** 1.11.12
- **Source summary:** Quickly clone an entire org's or user's repositories into one directory
- **Homepage:** <https://github.com/gabrie30/ghorg>
- **Repository:** <https://github.com/gabrie30/ghorg>
- **Upstream docs:** <https://github.com/gabrie30/ghorg#readme>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/gabrie30/ghorg/archive/refs/tags/v1.11.12.tar.gz>
- **Last updated:** 2026-06-27T19:03:34Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- ghorg (cli)
- ghorg (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.11.12
- Package-manager updated: 2026-06-27
- Local data: ok
- Upstream repository: https://github.com/gabrie30/ghorg
- Upstream latest detected: v1.11.12 (current)
## Project history and usage

ghorg is a Go command-line tool for cloning all repositories from a source-control organization or user into one local directory.

### Project history

The GitHub repository for ghorg was created in 2018, and the project settled around a narrow developer-operations job: turn a hosted source-control namespace into a local tree of Git repositories. Its README describes default behavior that either clones missing repositories or updates existing local clones with pull and clean operations.

The project evolved beyond GitHub-only organization cloning into a provider-oriented tool. Official documentation lists support for GitHub, GitLab, Bitbucket, Gitea, and SourceHut, with separate setup and example pages for provider-specific authentication, API limits, and self-hosted base URLs.

### Adoption history

ghorg's adoption is concentrated among teams and operators that need local snapshots of many repositories at once rather than one-off clones. The README's installation section documents prebuilt binaries, Homebrew, Mise, Go installation, Docker, and Windows support, matching its role as a cross-platform CLI utility.

### How it is used

Practitioners use ghorg to clone an organization's repositories for code search, onboarding, audits, backups, and scripted maintenance. Typical use starts with a provider token in the ghorg YAML configuration or a command-line flag, then runs a clone or reclone operation against an organization, user, or group.

### Why package nerds care

Package nerds care about ghorg because it automates the otherwise repetitive edge between package-manager install culture and source-control inventory work: install one small binary, point it at a namespace, and get a reproducible local checkout layout for analysis or backup.

### Timeline

- 2018: GitHub repository created.
- 2018: v1.0.6 published on GitHub Releases.
- 2019: README screenshot and CLI examples document the bulk-clone workflow.
- 2020s: Documentation covers GitHub, GitLab, Bitbucket, Gitea, and SourceHut providers.

### Related projects

- ghorg sits beside Git hosting APIs, GitHub Enterprise and GitLab self-managed deployments, XDG-style CLI configuration, and command-line search tools such as grep, ack, and The Silver Searcher.

### Sources

- <https://api.github.com/repos/gabrie30/ghorg>
- <https://github.com/gabrie30/ghorg>
- <https://github.com/gabrie30/ghorg#readme>
- <https://github.com/gabrie30/ghorg/releases/tag/v1.0.6>


## Security Notes

No matching local secret-handling manifest was found for ghorg. 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: ~/.config/ghorg/conf.yaml, $XDG_CONFIG_HOME/ghorg/conf.yaml

## Credential files

- Unix: ~/.config/ghorg/conf.yaml, $XDG_CONFIG_HOME/ghorg/conf.yaml
## Source Database Details

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

## Other Package-Manager Records

- Nix - ghorg: normalized package name match | nixpkgs package indexes: pkgs/by-name/gh/ghorg/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Scoop - main/ghorg: normalized package name match | Scoop official bucket manifest trees: bucket/ghorg.json from https://api.github.com/repos/ScoopInstaller/Main/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.
- [Archive and compression packages](https://www.automicvault.com/pkg/archive-compression-tools/) - Matched archive or compression metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [fetch](https://www.automicvault.com/pkg/brew/fetch/) - Shares av.db curated category or tags: cli, developer-tools, github, gitlab, source-control.
- [ghq](https://www.automicvault.com/pkg/brew/ghq/) - Shares av.db curated category or tags: cli, developer-tools, git, repository-management, source-control.
- [gickup](https://www.automicvault.com/pkg/brew/gickup/) - Shares av.db curated category or tags: backup, cli, developer-tools, git, source-control.
- [gitbackup](https://www.automicvault.com/pkg/brew/gitbackup/) - Shares av.db curated category or tags: backup, bitbucket, cli, developer-tools, git.
- [microplane](https://www.automicvault.com/pkg/brew/microplane/) - Shares av.db curated category or tags: cli, developer-tools, git, github, gitlab.
- [multi-gitter](https://www.automicvault.com/pkg/brew/multi-gitter/) - Shares av.db curated category or tags: bitbucket, cli, developer-tools, git, github.
- [scm-manager](https://www.automicvault.com/pkg/brew/scm-manager/) - Shares av.db curated category or tags: cli, developer-tools, git, repository-management, source-control.
- [gcli](https://www.automicvault.com/pkg/brew/gcli/) - Shares av.db curated category or tags: cli, developer-tools, git, github, gitlab.

## Combined YAML source

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


## Sources

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