Install Hydra With Homebrew¶
This tutorial walks through installing Hydra with Homebrew.
Related CLI Pages¶
hydra version— verify that the installed CLI works
Tap the Hydra Homebrew repository first:
macOS recommended:
Linux recommended:
To uninstall later:
brew uninstall hydra-gitops/homebrew-tap/hydra
# or
brew uninstall hydra-gitops/homebrew-tap/hydra-bin
brew untap hydra-gitops/tap
Hydra provides both a source formula (hydra) and a binary package (hydra-bin).
On Linux, hydra-bin is recommended and downloads the released binary from GitHub.
On Linux, self-compiling from source with hydra-gitops/tap/hydra also works.
On macOS, hydra-gitops/tap/hydra is recommended.
Step 1: Check Whether hydra Is Already Installed¶
Start by checking whether hydra is available:
Step 2: Install Hydra With Homebrew¶
Use the command for your platform. If you did not already add the tap, run:
Then install Hydra:
macOS recommended:
Linux recommended:
Step 3: Check Again¶
After the installation, verify that hydra is now available: