command not found: amplify cli on mac
See original GitHub issueI’ve run npm install -g @aws-amplify/cli
and sudo npm install -g @aws-amplify/cli --unsafe-perm=true
and on my mac its not reading amplify as a command and continues to give me an error. I’ve uninstalled node and npm and reinstalled it but still the same result. I’m not sure if this is just a mac problem.
Currently I’m running node version v14.8.0 and npm version 6.14.7
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (3 by maintainers)
Top Results From Across the Web
How to fix amplify CLI error : "-bash: amplify: command not ...
sudo npm install -g @aws-amplify/cli --unsafe-perm=true ... HOLA!! Now try amplify as a command it would start working :].
Read more >How To Install AWS Amplify CLI on Mac - Be a Better Dev
If you do, go ahead and open your terminal and run the below command to install the amplify CLI. We're installing amplify with...
Read more >Get started - Installation - AWS Amplify Docs
The Amplify Command Line Interface (CLI) is a unified toolchain to create AWS cloud ... Install Node.js® and NPM if they are not...
Read more >zsh: command not found: amplify - AWS re:Post
Hello,. I have installed npm install -g @aws-amplify/cli with and without sudo. I am still getting the error that amplify is not found....
Read more >AWS Amplify CLI Installation Guide (M1/M2 2022 Mac Edition)
In a new terminal window, run the following commands one by one, and make sure to replace MYUSER with the user of your...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @sgr0691 can you make sure that the global node modules bin folder is on your path? Usually this would be
/usr/local/bin
. You can runnpm root -g
to see where npm is configured to install global modules. You’ll get a path like<some path>/lib/node_modules
and you’ll need to make sure that<some path>/bin
is on your path@sgr0691 In that case you’ll need to make sure that
/usr/local/bin
is on your path.