# 使用 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
- **版本:** 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>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- git-xet (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.2.1
## 项目历史与用法

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
## 其他软件包管理器记录

- 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


## 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
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
