# Install ghorg with Homebrew, Nix, scoop

Quickly clone an entire org's or user's repositories into one directory. Version 1.11.14 via Homebrew; verified 2026-07-25. Also installable with nix: nix profile install nixpkgs#ghorg.

## 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
- **Version:** 1.11.14
- **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>
- **Last updated:** 2026-07-25T20:55:22-04:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- ghorg (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.11.14
## 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
## 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


## Combined YAML source

View the package source record on GitHub. [combined/ghorg.yml](https://github.com/mxcl/pkgdb/blob/main/combined/ghorg.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
