I followed this guide and download aws-cli with this link. When I try to verify whether I have installed it successfully with this command: aws --version
I get this error: -bash: /usr/local/bin/aws: cannot execute binary file
I try to
chmod +x aws
and
sudo chmod 777 aws
but none of them worked. Does anyone know how to fix the issue?
Thanks!
/usr/local/bin/aws. Which MacOSX version you are running? - samtoddlerSystem PreferencesunderSecurity and Privacy, when you try to execute there is popup to allow the binary. It happened to me forterraformbinary. - samtoddler