how to uninstall aws cli on mac code example Example: how to uninstall aws cli $ sudo rm -rf /usr/local/aws $ sudo rm /usr/local/bin/aws