question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

command not found: amplify cli on mac

See original GitHub issue

I’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:closed
  • Created 3 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
edwardfoylecommented, Mar 22, 2021

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 run npm 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

2reactions
edwardfoylecommented, Aug 18, 2020

@sgr0691 In that case you’ll need to make sure that /usr/local/bin is on your path.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found