Automic VaultAutomic Vault

brew

使用 Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget 安装 git-lfs

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install git-lfs

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install git-lfs

MacPorts ports tree · devel/git-lfs/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add git-lfs

Alpine Linux edge package indexes · git-lfs · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install git-lfs

Debian stable package indexes · git-lfs · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install git-lfs

Fedora Rawhide package metadata · git-lfs · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#git-lfs

nixpkgs package indexes · pkgs/by-name/gi/git-lfs/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S git-lfs

Arch Linux sync databases · git-lfs · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install git-lfs

openSUSE Tumbleweed package metadata · git-lfs · 来源: download.opensuse.org

Windows

Chocolatey已验证 · 92%
choco install git-lfs

Chocolatey community package catalog · git-lfs · 来源: community.chocolatey.org

Scoop已验证 · 92%
scoop install main/git-lfs

Scoop official bucket manifest trees · bucket/git-lfs.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id GitHub.GitLFS -e

Windows Package Manager source index · GitHub.GitLFS · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Git extension for versioning large files

命令和别名

  • git-lfs

历史

项目历史与用法

Git LFS is the reference command-line implementation and specification for storing large file contents outside ordinary Git blobs while keeping small pointer files in the repository. It became one of the standard answers for repositories that need to version art assets, datasets, media, archives, and other large binaries without making every clone carry every large object as normal Git history.

项目历史

The public git-lfs repository was created in 2013, and the changelog records v0.5.0 in April 2015 as the initial public release. The official specification preserves a clue from the pre-release era by documenting legacy pointer files that used a `hawser.github.com` version URL before the `git-lfs.github.com/spec/v1` pointer URL.

Git LFS reached v1.0.0 in October 2015. Before that milestone, v0.6.0 switched the client to the Batch API by default while retaining fallback to the legacy API. The 2.x line later removed old APIs and added features such as `git lfs migrate`, which rewrites history to convert large Git blobs into LFS objects.

采用历史

Git LFS matters because it is both a Git extension and a protocol/specification surface. The README describes pre-built binaries for macOS, Windows, Linux, and FreeBSD, Homebrew installation, Debian and RPM packages, Chocolatey installation, and inclusion in Git for Windows. That distribution footprint helped make LFS available to designers, game teams, data projects, and software teams using hosted Git services.

The project also has a maintainer model around a core team and alumni, public releases with signed hashes, official command documentation, an FAQ, and implementation notes. Those are signs of infrastructure-level Git tooling rather than a one-off helper script.

使用方式

Practitioners run `git lfs install` once to configure clean and smudge filters, use `git lfs track` to add patterns to `.gitattributes`, commit that attributes file, and then add and push files as usual. Git LFS writes pointer files into Git and stores object contents under the LFS object store, uploading LFS objects before the Git push completes.

`git lfs migrate` is used when large files already exist in history and need to be moved into LFS, with the usual history-rewrite consequences. Operators also use `git lfs env`, tracing, signed release verification, and the command manpages when debugging installs or server interactions.

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

Git LFS is package-nerd significant because it is a CLI, a Git filter integration, and a wire-format specification in one package. It shows how a package can become part of the developer-tooling substrate: package managers distribute the binary, Git invokes it through filters and hooks, and hosting platforms implement the matching storage API.

时间线

  • 2013: Public GitHub repository created.
  • 2015: v0.5.0 marked the initial public release.
  • 2015: v0.6.0 used the Batch API by default.
  • 2015: v1.0.0 released.
  • 2017: v2.0.0 removed legacy APIs.
  • 2017: v2.2.0 added `git lfs migrate`.

Related projects

  • Git LFS relates to Git attributes, clean and smudge filters, Git for Windows, and hosted Git LFS server implementations. Its problem space overlaps with artifact repositories and data-versioning tools, but its distinctive feature is that ordinary Git commits retain pointer files while large object transfer is handled out of band.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 2 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

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

Config paths the tool may read or write during local use.

Unix
.lfsconfig.gitattributes.git/config~/.gitconfig/etc/gitconfig

可执行文件

已安装的可执行文件

命令类型暴露范围备注
git-lfscli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本3.7.1
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/git-lfs/git-lfs

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息No cached GitHub release or tag data was available.https://github.com/git-lfs/git-lfsnone 置信度

安装元数据

软件包元数据

软件包键brew:git-lfs
版本3.7.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/git-lfs
主页https://git-lfs.com/
仓库https://github.com/git-lfs/git-lfs
上游文档https://git-lfs.com/
许可证MIT
源码归档https://github.com/git-lfs/git-lfs/releases/download/v3.7.1/git-lfs-v3.7.1.tar.gz
构建依赖asciidoctor, go
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明
注意事项Update your git config to finish installation: # Update global git config $ git lfs install # Update system git config $ git lfs install --system

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegit-lfs
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

git-lfs 3.6.1-1+deb13u1

Git Large File Support

https://git-lfs.github.com/

sudo apt install git-lfs
  • Section: vcs
  • Architecture: amd64
  • 2 依赖
  • normalized package name match
  • 匹配方式:Git Lfs
Debian stable package indexes · deb.debian.org · Debian stable package indexes: git-lfs from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

golang-github-git-lfs-git-lfs-dev 3.6.1-1+deb13u1

Git Large File Support (library)

https://git-lfs.github.com/

sudo apt install golang-github-git-lfs-git-lfs-dev
  • Section: golang
  • Architecture: all
  • Source Package: git-lfs
  • 15 依赖
  • normalized package name match
  • 匹配方式:Git Lfs
Debian stable package indexes · deb.debian.org · Debian stable package indexes: golang-github-git-lfs-git-lfs-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

git-lfs

nix profile install nixpkgs#git-lfs
  • normalized package name match
  • 匹配方式:Git Lfs
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gi/git-lfs/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

git-lfs 3.4.1-1

Git Large File Support

https://git-lfs.github.com/

sudo apt install git-lfs
  • Section: universe/vcs
  • Architecture: amd64
  • 2 依赖
  • normalized package name match
  • 匹配方式:Git Lfs
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: git-lfs from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

golang-github-git-lfs-git-lfs-dev 3.4.1-1

Git Large File Support (library)

https://git-lfs.github.com/

sudo apt install golang-github-git-lfs-git-lfs-dev
  • Section: universe/vcs
  • Architecture: all
  • Source Package: git-lfs
  • 14 依赖
  • normalized package name match
  • 匹配方式:Git Lfs
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: golang-github-git-lfs-git-lfs-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

git-lfs 3.7.1-r0

Git extension for versioning large files

https://git-lfs.github.io/

sudo apk add git-lfs
  • License: MIT
  • Architecture: x86_64
  • Source Package: git-lfs
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Git Lfs
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: git-lfs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

git-lfs-bash-completion 3.7.1-r0

Bash completions for git-lfs

https://git-lfs.github.io/

sudo apk add git-lfs-bash-completion
  • License: MIT
  • Architecture: x86_64
  • Source Package: git-lfs
  • normalized package name match
  • 匹配方式:Git Lfs
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: git-lfs-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

git-lfs-doc 3.7.1-r0

Git extension for versioning large files (documentation)

https://git-lfs.github.io/

sudo apk add git-lfs-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: git-lfs
  • normalized package name match
  • 匹配方式:Git Lfs
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: git-lfs-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

git-lfs-fish-completion 3.7.1-r0

Fish completions for git-lfs

https://git-lfs.github.io/

sudo apk add git-lfs-fish-completion
  • License: MIT
  • Architecture: x86_64
  • Source Package: git-lfs
  • normalized package name match
  • 匹配方式:Git Lfs
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: git-lfs-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

git-lfs-zsh-completion 3.7.1-r0

Zsh completions for git-lfs

https://git-lfs.github.io/

sudo apk add git-lfs-zsh-completion
  • License: MIT
  • Architecture: x86_64
  • Source Package: git-lfs
  • normalized package name match
  • 匹配方式:Git Lfs
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: git-lfs-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

git-lfs 3.7.1-4.fc44

Git extension for versioning large files

https://git-lfs.github.io/

sudo dnf install git-lfs
  • License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: git-lfs
  • 5 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Git Lfs
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: git-lfs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

git-lfs 3.7.1-1

Git extension for versioning large files

https://git-lfs.github.com

sudo pacman -S git-lfs
  • License: MIT
  • Architecture: x86_64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Git Lfs
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: git-lfs from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

git-lfs 3.7.1-1.5

Git extension for versioning large files

https://github.com/git-lfs/git-lfs

sudo zypper install git-lfs
  • License: MIT
  • Category: Development/Tools/Version Control
  • Architecture: x86_64
  • Source Package: git-lfs
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Git Lfs
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: git-lfs from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

git-lfs

sudo port install git-lfs
  • normalized package name match
  • 匹配方式:Git Lfs
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/git-lfs/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

git-lfs

choco install git-lfs
  • normalized package name match
  • 匹配方式:Git Lfs
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: git-lfs from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','gawk'
Scoop95%

main/git-lfs

scoop install main/git-lfs
  • normalized package name match
  • 匹配方式:Git Lfs
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/git-lfs.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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