Automic VaultAutomic Vault

brew

使用 Homebrew, MacPorts, Nix 安装 xxh

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install xxh

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install xxh

MacPorts ports tree · sysutils/xxh/Portfile · 来源: api.github.com

Linux

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

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

概览

软件包摘要

Bring your favorite shell wherever you go through the ssh

命令和别名

  • xxh
  • xxh.bash
  • xxh.xsh
  • xxh.zsh

历史

项目历史与用法

xxh is a remote-shell portability tool for people who want their own shell, aliases, plugins, and terminal habits when connecting through SSH. Its niche is not replacing OpenSSH transport; it wraps the SSH workflow so a prepared, removable userland can be uploaded to a remote Linux host without root access or permanent system installation.

项目历史

The project grew out of a common dotfile and remote-login annoyance: a heavily customized local shell disappears when a user logs in to an unfamiliar server. The README frames xxh around that problem and around the goal of bringing shells such as xonsh, zsh, fish, bash, and osquery to remote hosts.

The design evolved around small, forkable shell and plugin packages. Instead of copying a user's private dotfiles wholesale, xxh encourages reusable shell entrypoints and prerun plugins, so a remote environment can be assembled locally, uploaded, used, and removed by deleting the remote .xxh directory.

采用历史

xxh adoption has been strongest in the remote-development and shell-customization niche rather than in base operating systems. Its README lists Python package installation, pipx, conda-forge, Homebrew, MacPorts, portable Linux archives, and AppImage as distribution paths, reflecting a tool aimed at users who move between many hosts and package ecosystems.

The surrounding plugin repositories are part of the adoption story: zsh and fish integrations, Oh My Zsh and Oh My Fish support, Powerlevel10k, starship, vim, zoxide, Docker, Python, and dotfiles plugins show the project being used as a portable terminal-environment framework rather than a single binary.

使用方式

In practice, users invoke xxh where they would normally invoke ssh, preserving ordinary SSH arguments while adding xxh-specific options with plus-prefixed flags. Common workflows include selecting a shell for a host, preinstalling plugins, forcing a remote reinstall, choosing the remote home/hermetic level, or using seamless mode from the local shell.

The package is useful when a developer has access to many Linux hosts but cannot install packages globally, wants a familiar shell on ephemeral machines, or needs a repeatable remote command environment without leaving long-lived files behind.

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

xxh is package-nerd interesting because it packages a personal environment rather than just a program. It sits at the intersection of SSH, dotfiles, shell frameworks, portable binaries, and plugin packaging, making explicit the messy work many developers otherwise solve with ad hoc scp, curl, and bootstrap scripts.

Its plus-option convention and forkable package model also show a pragmatic packaging lesson: when a wrapper must pass through the native tool's flags, namespacing the wrapper's own options keeps the command line usable.

时间线

  • 2019: Public discussion and package pages show xxh being promoted as a way to bring zsh, Oh My Zsh, and other shells through SSH without root access on the host.
  • 2020: Homebrew, MacPorts, conda-forge, pip, pipx, AppImage, and portable Linux archive installation paths are documented in the project README.
  • 2020s: The shell and plugin ecosystem grows around xonsh, zsh, fish, bash, osquery, prerun plugins, and cookiecutter templates for new plugins.

Related projects

  • OpenSSH is the underlying transport and user-facing model that xxh wraps rather than replaces.
  • xonsh, zsh, fish, bash, and osquery are supported shell entrypoints in the xxh ecosystem.
  • Oh My Zsh, Oh My Fish, Powerlevel10k, starship, zoxide, vim, and Docker appear as examples of portable shell and prerun plugin targets.

安全态势

风险级别:yellow

broad file, network, media, or database tool signal. generalized runtime or code generation signal.

风险分类器

yellow 风险 · 中 置信度 · runtime

原因

  • broad file, network, media, or database tool signal
  • generalized runtime or code generation signal

信号

  • text:shell
  • text:ssh

安装行为

  • 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
~/.config/xxh/config.xxhc

可执行文件

已安装的可执行文件

命令类型暴露范围备注
xxhcli全局可执行文件
xxh.bashcli全局可执行文件
xxh.xshcli全局可执行文件
xxh.zshcli全局可执行文件

新鲜度

版本和新鲜度

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

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

https://github.com/xxh/xxh

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

安装元数据

软件包元数据

软件包键brew:xxh
版本0.8.14
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/xxh
主页https://github.com/xxh/xxh
仓库https://github.com/xxh/xxh
上游文档https://github.com/xxh/xxh#readme
许可证BSD-2-Clause
源码归档https://files.pythonhosted.org/packages/d6/ac/fb40368ff37fbdd00d041e241cc0d7a50cdac7bc6ae54dcb9f1349acdde6/xxh-xxh-0.8.14.tar.gz
依赖libyaml, python@3.14
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Nix95%

xxh

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

xxh

sudo port install xxh
  • normalized package name match
  • 匹配方式:Xxh
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/xxh/Portfile from https://api.github.com/repos/macports/macports-ports/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