# xxh を Homebrew, MacPorts, Nix でインストール

xxh のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:xxh
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install xxh
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install xxh
```

  証拠: MacPorts ports tree: sysutils/xxh/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#xxh
```

  証拠: nixpkgs package indexes: pkgs/by-name/xx/xxh/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:xxh
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.8.14
- **ソース概要:** Bring your favorite shell wherever you go through the ssh
- **ホームページ:** <https://github.com/xxh/xxh>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- xxh (エイリアス)
- xxh.bash (エイリアス)
- xxh.xsh (エイリアス)
- xxh.zsh (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.8.14
## プロジェクトの歴史と使われ方

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.

### ソース

- <https://github.com/xxh/xxh>
- <https://pypi.org/project/xxh-xxh/0.7.3/>
- <https://www.reddit.com/r/zsh/comments/fiq9w2/bring_zsh_with_ohmyzsh_wherever_you_go_through/>


## セキュリティノート

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

- **Geiger リスク:** yellow / 中
- broad file, network, media, or database tool signal
- generalized runtime or code generation 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: ~/.config/xxh/config.xxhc
## 他のパッケージマネージャ記録

- Nix - xxh: normalized package name match | nixpkgs package indexes: pkgs/by-name/xx/xxh/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - xxh: normalized package name match | MacPorts ports tree: sysutils/xxh/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/xxh.yml](https://github.com/mxcl/pkgdb/blob/main/combined/xxh.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
