amazon-web-servicesaws-amplifyaws-amplify-cli

Amplify CLI commands do not work - M1 Mac


I installed the Amplify Cli using npm install -g @aws-amplify/cli on my M1 Mac.

When I run amplify in terminal, nothing happens. A new terminal line just appears. No error, just a new line. Running amplify help amplify -v amplify configure all do nothing.

% amplify help
% 

How do I get the amplify cli to work?


Solution

  • I faced the same issue with my M2. After trying both the NPM and the cURL methods, I realised I needed to install Rosetta first:

    softwareupdate --install-rosetta