I had following terminal output "zsh: command not found: aws" after the installation of the AWS CLI on macOS, because AWS CLI uses python and you need to ensure you did configure python right. That make it a little-bit more tricky for me to install that CLI on my machine, compared for example to the IBM Cloud CLI.