# 使用 Homebrew, Nix, scoop, winget 安装 git-xet

查看 git-xet 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install git-xet
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#git-xet
```

  证据: nixpkgs package indexes: pkgs/by-name/gi/git-xet/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Scoop (92%):

```sh
scoop install main/git-xet
```

  证据: Scoop official bucket manifest trees: bucket/git-xet.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id HuggingFace.Git-Xet -e
```

  证据: Windows Package Manager source index: HuggingFace.Git-Xet from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:git-xet
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/git-xet>
- **版本:** 0.2.1
- **来源摘要:** Git LFS plugin that uploads and downloads using the Xet protocol
- **主页:** <https://github.com/huggingface/xet-core>
- **仓库:** <https://github.com/huggingface/xet-core>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/huggingface/xet-core/archive/refs/tags/git-xet-v0.2.1.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- git-xet (cli)
- git-xet (别名)

## 依赖

- git-lfs
- openssl@3

## 构建依赖

- pkgconf
- rust

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.2.1
- 本地数据: OK
- 上游仓库: https://github.com/huggingface/xet-core
- 检测到的最新版本: git-xet-v0.2.1 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

Git Xet is the Git extension and Git LFS-compatible command-line entry point for Xet storage. It sits at the boundary between ordinary Git workflows and Hugging Face's Xet-backed storage for large model and dataset files.

### 项目历史

Xet originated in the XetHub storage work later acquired by Hugging Face in August 2024. The Hugging Face xet-core repository adapted that technology into Rust crates, Python bindings, and the git-xet binary, with public git-xet tags beginning at git-xet-v0.1.0 in 2025.

### 采用历史

The tool's adoption is tied to Hugging Face Hub storage. Hugging Face documentation describes Xet as replacing Git LFS for Hub storage needs while preserving Git-style pointer files and ordinary repository workflows for large binary artifacts.

### 使用方式

Practitioners install Git Xet, run git xet install, and then use normal Git add, commit, and push flows against Hugging Face repositories. The extension invokes the Xet protocol under the hood so only changed chunks of large files need to move.

### 为什么软件包爱好者会关心

git-xet matters to package nerds because it packages a storage backend transition as a Git extension. Homebrew, Nix, Scoop, and winget entries make an ML storage protocol feel like a regular developer-machine dependency.

### 时间线

- 2024: Hugging Face acquired XetHub.
- 2025: xet-core published git-xet release tags.
- 2025: Hugging Face documentation described Git Xet as the Git path into Xet-backed Hub storage.

### Related projects

- xet-core provides the Rust client technology.
- hf-xet and huggingface_hub provide the Python path into the same storage system.
- Git LFS remains a compatibility reference point for pointer-file workflows.

### 来源

- <https://github.com/huggingface/xet-core>
- <https://huggingface.co/docs/hub/xet/index.md>
- <https://huggingface.co/docs/hub/xet/overview.md>
- <https://huggingface.co/docs/hub/xet/using-xet-storage.md>
- <https://raw.githubusercontent.com/huggingface/xet-core/main/README.md>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal


## 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: .git/config, ~/.gitconfig, ~/.config/git/config, /etc/gitconfig
## 源数据库详情

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

## 其他软件包管理器记录

- Nix - git-xet: normalized package name match | nixpkgs package indexes: pkgs/by-name/gi/git-xet/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Scoop - main/git-xet: normalized package name match | Scoop official bucket manifest trees: bucket/git-xet.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - HuggingFace.Git-Xet: normalized package name match | Windows Package Manager source index: HuggingFace.Git-Xet from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [openssl@3](https://pkg.so/zh-hans/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [git-lfs](https://pkg.so/zh-hans/brew/git-lfs/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [git](https://pkg.so/zh-hans/brew/git/) - Shares pkgdb curated category or tags: cli, developer-tools, version-control.
- [libgit2](https://pkg.so/zh-hans/brew/libgit2/) - Shares pkgdb curated category or tags: cli, developer-tools, version-control.
- [lazygit](https://pkg.so/zh-hans/brew/lazygit/) - Shares pkgdb curated category or tags: cli, developer-tools, version-control.
- [subversion](https://pkg.so/zh-hans/brew/subversion/) - Shares pkgdb curated category or tags: cli, developer-tools, version-control.
- [git-gui](https://pkg.so/zh-hans/brew/git-gui/) - Shares pkgdb curated category or tags: cli, developer-tools, version-control.
- [jj](https://pkg.so/zh-hans/brew/jj/) - Shares pkgdb curated category or tags: cli, developer-tools, version-control.
- [tig](https://pkg.so/zh-hans/brew/tig/) - Shares pkgdb curated category or tags: cli, developer-tools, version-control.
- [git-series](https://pkg.so/zh-hans/brew/git-series/) - Package names and metadata indicate a similar tool family. Shared terms: cli, control, developer, developer-tools, git.
- [git-trim](https://pkg.so/zh-hans/brew/git-trim/) - Package names and metadata indicate a similar tool family. Shared terms: cli, developer, developer-tools, extension, git.

## Combined YAML source

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


## 来源

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