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