macOS
brew install hublocal Homebrew formula metadata
sudo port install hubMacPorts ports tree · devel/hub/Portfile · ソース: api.github.com
brew
hub のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install hublocal Homebrew formula metadata
sudo port install hubMacPorts ports tree · devel/hub/Portfile · ソース: api.github.com
sudo apk add hubAlpine Linux edge package indexes · hub · ソース: dl-cdn.alpinelinux.org
nix profile install nixpkgs#hubnixpkgs package indexes · pkgs/by-name/hu/hub/package.nix · ソース: api.github.com
sudo pacman -S hubArch Linux sync databases · hub · ソース: geo.mirror.pkgbuild.com
sudo zypper install hubopenSUSE Tumbleweed package metadata · hub · ソース: download.opensuse.org
choco install hubChocolatey community package catalog · hub · ソース: community.chocolatey.org
scoop install main/hubScoop official bucket manifest trees · bucket/hub.json · ソース: api.github.com
winget install --id GitHub.hub -eWindows Package Manager source index · GitHub.hub · ソース: cdn.winget.microsoft.com
概要
Add GitHub support to git on the command-line
履歴
hub is a GitHub-oriented command-line companion for Git. Its central idea is deliberately conservative: keep normal Git behavior, then add shorthand and subcommands for common GitHub work such as cloning owner/repository names, opening project pages, creating repositories, managing issues, pull requests, releases, and making GitHub API calls from scripts.
The public GitHub repository was created in December 2009 under Mislav Marohnić's account, and the project later lived at the canonical github/hub repository while retaining the mislav/hub URL as an official repository redirect. The documentation describes hub as an extension to command-line Git, and its manual groups commands into Git commands that hub extends and GitHub-specific commands that hub adds.
hub occupied an important pre-gh niche: it made GitHub feel native inside a Git workflow before GitHub's separately branded gh CLI became the official general-purpose GitHub CLI. The hub README acknowledges gh as GitHub's more user-facing CLI while preserving hub's role as a lightweight Git wrapper and scripting tool.
hub spread through developer package managers because it matched an everyday GitHub workflow rather than a narrow build-time need. The Homebrew formula metadata for this batch lists packages across Homebrew, Debian, Ubuntu, Arch, Fedora, openSUSE, MacPorts, Nix, Scoop, Chocolatey, winget, and other ecosystems, while the project README documents similarly broad install paths.
Typical use is interactive and scriptable: users alias hub as git, clone repositories by GitHub shorthand, fork or create repositories, open pull requests, inspect issues, publish releases, or drop to `hub api` for raw GitHub REST or GraphQL calls. Configuration and OAuth credentials are stored under the XDG-style hub configuration path unless a token is supplied through the environment.
For package nerds, hub is a classic example of a small CLI that became distribution-worthy by wrapping an existing universal tool instead of replacing it. It also records a period in GitHub tooling history when third-party and community-maintained command-line clients filled gaps that later became first-party platform features.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
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.
$XDG_CONFIG_HOME/hub~/.config/hubCredential-bearing paths to review before unattended agent runs.
$XDG_CONFIG_HOME/hub~/.config/hub実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
hub | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:hub |
|---|---|
| バージョン | 2.14.2 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/hub |
| ホームページ | https://hub.github.com/ |
| リポジトリ | https://github.com/mislav/hub |
| 上流ドキュメント | https://hub.github.com/ |
| ライセンス | MIT |
| ソースアーカイブ | https://github.com/mislav/hub/archive/refs/tags/v2.14.2.tar.gz |
| ビルド依存関係 | go, groff |
| Bottle | 利用可能 (対象 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | hub |
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
hub 2.14.2~ds1-1+b23
make git easier with GitHub
sudo apt install hubhub
nix profile install nixpkgs#hubhub 2.14.2~ds1-1ubuntu2
make git easier with GitHub
sudo apt install hubhub 2.14.2-r41
Extends git with extra features for GitHub
sudo apk add hubhub-bash-completion 2.14.2-r41
Bash completions for hub
sudo apk add hub-bash-completionhub-doc 2.14.2-r41
Extends git with extra features for GitHub (documentation)
sudo apk add hub-dochub-fish-completion 2.14.2-r41
Fish completions for hub
sudo apk add hub-fish-completionhub-zsh-completion 2.14.2-r41
Zsh completions for hub
sudo apk add hub-zsh-completionhub 2.14.2-4
cli interface for Github
sudo pacman -S hubhub 2.14.2-2.9
Command-line wrapper for git and GitHub
sudo zypper install hubhub
sudo port install hubhub
choco install hubmain/hub
scoop install main/hubGitHub.hub
winget install --id GitHub.hub -eソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.