# Install git-grab with Homebrew, pacman, winget

Clone a git repository into a standard location organised by domain and path. Version 4.0.1 via Homebrew; verified 2026-07-07.

## Install

```sh
sudo av install brew:git-grab
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install git-grab
```

  Evidence: local Homebrew formula metadata

### Linux

- pacman (92%):

```sh
sudo pacman -S git-grab
```

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

### Windows

- winget (92%):

```sh
winget install --id wezm.git-grab -e
```

  Evidence: Windows Package Manager source index: wezm.git-grab from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:git-grab
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/git-grab>
- **Version:** 4.0.1
- **Source summary:** Clone a git repository into a standard location organised by domain and path
- **Homepage:** <https://codeberg.org/wezm/git-grab>
- **Upstream docs:** <https://github.com/wezm/git-grab#readme>
- **License:** Apache-2.0 OR MIT
- **Source archive:** <https://static.crates.io/crates/git-grab/git-grab-4.0.1.crate>
- **Last updated:** 2026-07-07T05:14:48Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- git-grab (cli)
- git-grab (alias)

## Build dependencies

- rust

## 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: 4.0.1
- Package-manager updated: 2026-07-07
- Local data: ok
- Upstream repository: https://codeberg.org/wezm/git-grab
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

git-grab is a Rust command-line tool that clones Git repositories into a standard source tree organized by domain and path. Its default home is `~/src`, with `GRAB_HOME` or `--home` available for users who prefer another root.

### Project history

The project began in 2021 and released an initial 0.1.1 build shortly after its GitHub repository and crates.io package appeared. The README describes it as inspired by John Graham-Cumming's `grab`, but narrowed to Git rather than multiple version-control systems and designed to let Git itself provide clone progress and behavior.

The GitHub README later marked the repository as moved to Codeberg. Releases through the 4.x line kept the packaged Rust implementation available while the canonical project home shifted away from GitHub.

### Adoption history

git-grab found a small audience among developers who like deterministic `~/src/host/path` clone layouts. Its README lists package-manager availability in Arch Linux, Homebrew, and Chimera Linux, and the crate page records its distribution through the Rust package ecosystem.

### How it is used

Practitioners run `git grab github.com/wezm/git-grab` or pass any URL accepted by Git, with optional clipboard and copy-path helpers. Because it installs as `git-grab`, Git can invoke it as `git grab`, making it feel like a native Git subcommand.

### Why package nerds care

git-grab is a compact example of a packageable personal workflow convention: it standardizes where clones land, but delegates actual cloning to Git and keeps the command small.

### Timeline

- 2021: Repository and crates.io package appeared.
- 2021: 0.1.1 initial release shipped.
- 2022: 1.0.0 release marked the first stable line.
- 2026: 4.0.x releases preceded the public move notice to Codeberg.

### Related projects

- git-grab is related to `grab` by John Graham-Cumming, `git-get`, GitHub CLI aliases, and local source-tree conventions used by Go and Rust developers.

### Sources

- <https://codeberg.org/wezm/git-grab>
- <https://crates.io/crates/git-grab>
- <https://formulae.brew.sh/formula/git-grab>
- <https://github.com/wezm/git-grab>
- <https://github.com/wezm/git-grab/blob/main/README.md>
- <https://github.com/wezm/git-grab/releases>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** git-grab
- **Version Scheme:** 0
- **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

- pacman - git-grab - 4.0.1-3: normalized package name match | Arch Linux sync databases: git-grab from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A tool to clone git repositories to a standard location organised by domain and path | https://github.com/wezm/git-grab
- winget - wezm.git-grab: normalized package name match | Windows Package Manager source index: wezm.git-grab from https://cdn.winget.microsoft.com/cache/source.msix


## 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.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [git-get](https://www.automicvault.com/pkg/brew/git-get/) - Shares av.db curated category or tags: cli, clone, developer-tools, git, repository-management.
- [gitbatch](https://www.automicvault.com/pkg/brew/gitbatch/) - Shares av.db curated category or tags: cli, developer-tools, git, repository-management, version-control.
- [gitup](https://www.automicvault.com/pkg/brew/gitup/) - Shares av.db curated category or tags: cli, developer-tools, git, repository-management, version-control.
- [all-repos](https://www.automicvault.com/pkg/brew/all-repos/) - Shares av.db curated category or tags: cli, developer-tools, git, repository-management.
- [committed](https://www.automicvault.com/pkg/brew/committed/) - Shares av.db curated category or tags: cli, developer-tools, git, rust, version-control.
- [garden](https://www.automicvault.com/pkg/brew/garden/) - Shares av.db curated category or tags: cli, developer-tools, git, rust, version-control.
- [git-graph](https://www.automicvault.com/pkg/brew/git-graph/) - Shares av.db curated category or tags: cli, developer-tools, git, rust, version-control.
- [git-interactive-rebase-tool](https://www.automicvault.com/pkg/brew/git-interactive-rebase-tool/) - Shares av.db curated category or tags: cli, developer-tools, git, rust, version-control.
- [git-pages](https://www.automicvault.com/pkg/brew/git-pages/) - Package names and metadata indicate a similar tool family. Shared terms: cli, control, developer, developer-tools, git.
- [git-url-sub](https://www.automicvault.com/pkg/brew/git-url-sub/) - Package names and metadata indicate a similar tool family. Shared terms: cli, control, developer, developer-tools, git.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- 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
