This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
install_aws_cli () { | |
echo "Downloading AWS CLI..." | |
curl "https://awscli.amazonaws.com/AWSCLIV2.pkg" -o "AWSCLIV2.pkg" | |
echo "Installing AWS CLI..." | |
sudo installer -pkg AWSCLIV2.pkg -target / | |
rm -f AWSCLIV2.pkg | |
echo "Package file deleted successfully!" | |
echo "AWS CLI installed successfully!" |