macOS
brew install hublocal Homebrew formula metadata
sudo port install hubMacPorts ports tree · devel/hub/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de hub pour les workflows d'agents IA.
installation
brew install hublocal Homebrew formula metadata
sudo port install hubMacPorts ports tree · devel/hub/Portfile · Source: api.github.com
sudo apk add hubAlpine Linux edge package indexes · hub · Source: dl-cdn.alpinelinux.org
sudo apt install hubDebian stable package indexes · hub · Source: deb.debian.org
nix profile install nixpkgs#hubnixpkgs package indexes · pkgs/by-name/hu/hub/package.nix · Source: api.github.com
sudo pacman -S hubArch Linux sync databases · hub · Source: geo.mirror.pkgbuild.com
sudo zypper install hubopenSUSE Tumbleweed package metadata · hub · Source: download.opensuse.org
choco install hubChocolatey community package catalog · hub · Source: community.chocolatey.org
scoop install main/hubScoop official bucket manifest trees · bucket/hub.json · Source: api.github.com
winget install --id GitHub.hub -eWindows Package Manager source index · GitHub.hub · Source: cdn.winget.microsoft.com
aperçu
Add GitHub support to git on the command-line
historique
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.
posture de sécurité
narrow executable package without higher-risk signals.
risque vert · confiance faible · appliance
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des 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.
$XDG_CONFIG_HOME/hub~/.config/hubCredential-bearing paths to review before unattended agent runs.
$XDG_CONFIG_HOME/hub~/.config/hubexécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
hub | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
métadonnées d'installation
| Clé du paquet | brew:hub |
|---|---|
| Version | 2.14.2 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/hub |
| Page d'accueil | https://hub.github.com/ |
| Dépôt | https://github.com/mislav/hub |
| Docs amont | https://hub.github.com/ |
| Licence | MIT |
| Archive source | https://github.com/mislav/hub/archive/refs/tags/v2.14.2.tar.gz |
| Dépendances de compilation | go, groff |
| Bouteille | disponible (sur arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| 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 |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
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 -episte source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.