# hut を Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper でインストール

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

## インストール

```sh
sudo av install brew:hut
```

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

### macOS

- Homebrew (100%):

```sh
brew install hut
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install hut
```

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

### Linux

- apk (92%):

```sh
sudo apk add hut
```

  証拠: Alpine Linux edge package indexes: hut from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install hut
```

  証拠: Debian stable package indexes: hut from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install hut
```

  証拠: Fedora Rawhide package metadata: hut from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#hut
```

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

- pacman (92%):

```sh
sudo pacman -S hut
```

  証拠: Arch Linux sync databases: hut from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install hut
```

  証拠: openSUSE Tumbleweed package metadata: hut from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:hut
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.8.0
- **ソース概要:** CLI tool for sr.ht
- **ホームページ:** <https://sr.ht/~xenrox/hut>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- hut (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

hut is a command-line client for sr.ht, the SourceHut software forge. It exposes SourceHut services from the shell, including git, builds, tickets, patches, pages, meta/account features, and hub/project views as those APIs became available.

### プロジェクトの歴史

The SourceHut project entered public alpha in November 2018 after private development, and hut appeared later as a compact CLI companion for that ecosystem. The hut refs page shows v0.1.0 in March 2022 and a steady sequence of 0.x releases afterward.

Release notes show hut tracking SourceHut's expanding service surface. v0.7.0 added git webhook handling, git setup for send-email configuration, pages ACL handling, multi-resource update commands, and a package-maintainer note for setting the version via linker flags. v0.8.0 added a version command, meta pronouns/avatar handling, hub list/show commands, list and todo preferences, build tag filtering and updating, and instance-origin configuration.

### 採用の歴史

hut is niche by design: it is most useful to SourceHut users who want forge operations in scripts or terminal workflows. Package metadata lists distribution across Homebrew, Debian, Ubuntu, Fedora-family, Alpine, Arch, Nix, MacPorts, and openSUSE ecosystems, which is broad for a forge-specific CLI.

### 使われ方

The tool is used for day-to-day sr.ht work from a terminal: cloning and configuring repositories, submitting or inspecting builds, handling tickets and patches, managing pages, and reading or updating account/project metadata.

### パッケージ好きにとっての重要性

hut is significant to SourceHut-oriented package users because it mirrors the forge's API-first, email-friendly culture in a scriptable binary. It is also a good example of a CLI whose package-manager value is higher than its standalone fame: without easy packaging, SourceHut automation stays locked behind manual web/API calls.

### タイムライン

- 2018: SourceHut began public alpha.
- 2022: hut v0.1.0 was tagged.
- 2023: v0.3.0 and v0.4.0 releases expanded the 0.x line.
- 2025: v0.7.0 added git webhook, git setup, pages ACL, and package-maintainer version guidance.
- 2026: v0.8.0 added hub commands, meta profile handling, build tag operations, and instance-origin configuration.

### Related projects

- hut is tied to the SourceHut suite: git.sr.ht, builds.sr.ht, todo.sr.ht, lists.sr.ht, pages.sr.ht, meta.sr.ht, and hub.sr.ht. Its workflows also intersect with git send-email and project configuration files.

### ソース

- SourceHut project pages, hut release refs, the hut repository summary, and package metadata were used.


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals


## 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

- macOS: ~/Library/Application Support/hut/config
- Unix: $XDG_CONFIG_HOME/hut/config, ~/.config/hut/config

## Credential files

- macOS: ~/Library/Application Support/hut/config
- Unix: $XDG_CONFIG_HOME/hut/config, ~/.config/hut/config
## 他のパッケージマネージャ記録

- Debian apt - hut - 0.6.0-1+b8: normalized package name match | Debian stable package indexes: hut from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | CLI tool for sr.ht | https://sr.ht/~xenrox/hut/
- Nix - hut: normalized package name match | nixpkgs package indexes: pkgs/by-name/hu/hut/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - hut - 0.4.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: hut from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | CLI tool for sr.ht | https://sr.ht/~emersion/hut/
- apk - hut - 0.8.0-r3: normalized package name match | Alpine Linux edge package indexes: hut from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | command-line tool for sr.ht | https://sr.ht/~xenrox/hut
- apk - hut-bash-completion - 0.8.0-r3: normalized package name match | Alpine Linux edge package indexes: hut-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for hut | https://sr.ht/~xenrox/hut
- apk - hut-doc - 0.8.0-r3: normalized package name match | Alpine Linux edge package indexes: hut-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | command-line tool for sr.ht (documentation) | https://sr.ht/~xenrox/hut
- apk - hut-fish-completion - 0.8.0-r3: normalized package name match | Alpine Linux edge package indexes: hut-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for hut | https://sr.ht/~xenrox/hut
- apk - hut-zsh-completion - 0.8.0-r3: normalized package name match | Alpine Linux edge package indexes: hut-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for hut | https://sr.ht/~xenrox/hut
- dnf - hut - 0.8.0-2.fc45: normalized package name match | Fedora Rawhide package metadata: hut from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A CLI tool for Sourcehut | https://git.sr.ht/~xenrox/hut
- pacman - hut - 0.8.0-1: normalized package name match | Arch Linux sync databases: hut from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A CLI tool for Sourcehut | https://sr.ht/~xenrox/hut
- zypper - hut - 0.8.0-1.4: normalized package name match | openSUSE Tumbleweed package metadata: hut from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A CLI tool for sr.ht | https://sr.ht/~xenrox/hut
- zypper - hut-bash-completion - 0.8.0-1.4: normalized package name match | openSUSE Tumbleweed package metadata: hut-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Bash Completion for hut | https://sr.ht/~xenrox/hut
- zypper - hut-fish-completion - 0.8.0-1.4: normalized package name match | openSUSE Tumbleweed package metadata: hut-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Fish Completion for hut | https://sr.ht/~xenrox/hut
- zypper - hut-zsh-completion - 0.8.0-1.4: normalized package name match | openSUSE Tumbleweed package metadata: hut-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | ZSH Completion for hut | https://sr.ht/~xenrox/hut
- MacPorts - hut: normalized package name match | MacPorts ports tree: devel/hut/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/hut.yml](https://github.com/mxcl/pkgdb/blob/main/combined/hut.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
