We recommend trying to use the Minio CLI instead of the standard AWS CLI. Use the following script to install and set it up:
# Install minio cli brew install minio/stable/mc # create an "alias" to use `mc` when the user calls `aws s3`. echo 'aws() { if [[ $1 == "s3" ]]; then command mc "${@:2}"; else command aws "$@"; fi; }' >> ~/.zshrc # re-source zshrc, so the alias becomes active source ~/.zshrc