macOS
brew install hutlocal Homebrew formula metadata
sudo port install hutMacPorts ports tree · devel/hut/Portfile · source: api.github.com
brew
CLI tool for sr.ht. Version 0.8.0 via Homebrew; verified from local package data.
install
brew install hutlocal Homebrew formula metadata
sudo port install hutMacPorts ports tree · devel/hut/Portfile · source: api.github.com
sudo apk add hutAlpine Linux edge package indexes · hut · source: dl-cdn.alpinelinux.org
sudo apt install hutDebian stable package indexes · hut · source: deb.debian.org
sudo dnf install hutFedora Rawhide package metadata · hut · source: dl.fedoraproject.org
nix profile install nixpkgs#hutnixpkgs package indexes · pkgs/by-name/hu/hut/package.nix · source: api.github.com
sudo pacman -S hutArch Linux sync databases · hut · source: geo.mirror.pkgbuild.com
sudo zypper install hutopenSUSE Tumbleweed package metadata · hut · source: download.opensuse.org
overview
CLI tool for sr.ht
history
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
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.
Config paths the tool may read or write during local use.
~/Library/Application Support/hut/config$XDG_CONFIG_HOME/hut/config~/.config/hut/configCredential-bearing paths to review before unattended agent runs.
~/Library/Application Support/hut/config$XDG_CONFIG_HOME/hut/config~/.config/hut/configexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
hut | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:hut |
|---|---|
| Version | 0.8.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/hut |
| Homepage | https://sr.ht/~xenrox/hut |
| Repository | https://git.sr.ht/~xenrox/hut |
| Upstream docs | https://git.sr.ht/~xenrox/hut/tree/master/item/doc/hut.1.scd |
| License | AGPL-3.0-or-later |
| Source archive | https://git.sr.ht/~xenrox/hut/archive/v0.8.0.tar.gz |
| Build dependencies | go, scdoc |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | hut |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
hut 0.6.0-1+b8
CLI tool for sr.ht
sudo apt install huthut
nix profile install nixpkgs#huthut 0.4.0-1
CLI tool for sr.ht
sudo apt install huthut 0.8.0-r2
command-line tool for sr.ht
sudo apk add huthut-bash-completion 0.8.0-r2
Bash completions for hut
sudo apk add hut-bash-completionhut-doc 0.8.0-r2
command-line tool for sr.ht (documentation)
sudo apk add hut-dochut-fish-completion 0.8.0-r2
Fish completions for hut
sudo apk add hut-fish-completionhut-zsh-completion 0.8.0-r2
Zsh completions for hut
sudo apk add hut-zsh-completionhut 0.7.0-4.fc44
A CLI tool for Sourcehut
sudo dnf install huthut 0.8.0-1
A CLI tool for Sourcehut
sudo pacman -S huthut 0.8.0-1.1
A CLI tool for sr.ht
sudo zypper install huthut-bash-completion 0.8.0-1.1
Bash Completion for hut
sudo zypper install hut-bash-completionhut-fish-completion 0.8.0-1.1
Fish Completion for hut
sudo zypper install hut-fish-completionhut-zsh-completion 0.8.0-1.1
ZSH Completion for hut
sudo zypper install hut-zsh-completionhut
sudo port install hutsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.