# 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. Also installable with pacman: sudo pacman -S git-grab.

## 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
- **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>
- **Last updated:** 2026-07-07T05:14:48Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- git-grab (alias)

## Install behavior

- Bottle: not available

## Freshness

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

## 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


## Combined YAML source

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


## Sources

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