Automic VaultAutomic Vault

brew

使用 Homebrew, apt, Nix, pacman 安装 gist

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install gist

local Homebrew formula metadata

Linux

Debian apt已验证 · 92%
sudo apt install gist

Debian stable package indexes · gist · 来源: deb.debian.org

Nix已验证 · 92%
nix profile install nixpkgs#gist

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

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

Arch Linux sync databases · gist · 来源: geo.mirror.pkgbuild.com

概览

软件包摘要

Command-line utility for uploading Gists

历史

项目历史与用法

gist is a Ruby command-line client and library for uploading files or standard input to GitHub Gist. It is one of the older developer-shell bridges between local code snippets and GitHub's paste-sharing service.

项目历史

The repository was opened in October 2008 by Chris Wanstrath, and RubyGems records 1.0.0 in February 2010. The README credits defunkt and indirect for versions 1 through 3, then rking and Conrad Irwin for version 4, showing a maintainer handoff pattern typical of long-lived GitHub-era command-line tools.

The tool grew from simple snippet upload into a broader Gist client: it can upload multiple files, read from standard input, paste from the clipboard, create private gists, update existing gists, open or copy resulting URLs, list and read gists, and act as a Ruby library.

采用历史

gist's adoption follows GitHub Gist's role as a lightweight code-sharing surface. The README documents installation through RubyGems, Bundler, Homebrew, FreeBSD ports, and Debian or Ubuntu packages, while RubyGems download counts show multi-million-install scale through the gem channel.

使用方式

Practitioners pipe command output into gist, upload one or more files, attach descriptions, request private gists, copy the resulting URL, or use the library API inside Ruby programs. Authentication evolved from username/password token exchange toward GitHub's device-code OAuth flow, with tokens stored in ~/.gist or per-enterprise token files.

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

gist is significant because it made GitHub's pastebin-like service feel native to the Unix pipeline. For package maintainers, it also carries the history of API authentication changes, GitHub Enterprise support, and binary-name conflict handling in distributions such as Debian.

时间线

  • 2008: The repository began on GitHub.
  • 2010: RubyGems records the 1.0.0 release.
  • 2015: 4.5.0 shipped during the maintained version-4 line.
  • 2020: 6.0.0 appeared after the version-5 series.
  • 2026: 6.1.0 was published on RubyGems.

Related projects

  • gist sits beside GitHub Gist itself, GitHub Enterprise, RubyGems packaging, Homebrew packaging, and distro-packaged command-line paste clients.

安全态势

风险级别:blue

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

风险分类器

blue 风险 · 中 置信度 · tool

原因

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

信号

  • text:upload

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。

建议审查

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

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.

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.gist~/.gist.<protocol>.<server.name>[.<port>]

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

页面生成时间2026-07-26
管理器版本6.1.0
管理器更新时间2026-06-19
本地数据OK
上游当前
检测到的最新版本v6.1.0

https://github.com/defunkt/gist

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:gist
版本6.1.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/gist
主页https://defunkt.io/gist/
仓库https://github.com/defunkt/gist
上游文档https://github.com/defunkt/gist#readme
许可证MIT
源码归档https://github.com/defunkt/gist/archive/refs/tags/v6.1.0.tar.gz
最后更新2026-06-19T22:35:16Z
Pulseupdated
macOS 提供的库ruby
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

gist 6.0.0-3

Upload gists to gist.github.com

https://github.com/defunkt/gist

sudo apt install gist
  • Section: ruby
  • Architecture: all
  • 3 依赖
  • normalized package name match
  • 匹配方式:Gist
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gist from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

gist

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

gist 6.0.0-3

Upload gists to gist.github.com

https://github.com/defunkt/gist

sudo apt install gist
  • Section: universe/ruby
  • Architecture: all
  • 3 依赖
  • normalized package name match
  • 匹配方式:Gist
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gist from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
pacman95%

gist 6.0.0-2

Potentially the best command line gister

https://github.com/defunkt/gist

sudo pacman -S gist
  • License: custom:MIT
  • Architecture: any
  • 1 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Gist
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: gist from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

来源线索

由仓库数据生成

此页面由 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