github.com/shravanasati/hydra@v1.0.1-0.20240122045627-1082d2ed50d2/macos_install.sh (about) 1 2 #!/bin/bash 3 4 echo "Downloading hydra..." 5 curl -L "https://github.com/shravanasati/hydra/releases/latest/download/hydra-darwin-amd64" -o hydra 6 7 echo "Adding hydra into PATH..." 8 9 mkdir -p ~/.hydra; 10 mv ./hydra ~/.hydra 11 echo "export PATH=$PATH:~/.hydra" >> ~/.bashrc 12 13 echo "hydra installation is completed!" 14 echo "You need to restart the shell to use hydra."