Skip to content

Instantly share code, notes, and snippets.

View JoshSalway's full-sized avatar

Josh Salway JoshSalway

  • Gold Coast, Australia
View GitHub Profile
#!/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!"