Reputation: 33
I'm trying to get my amplify backend connected to my Next JS application. I've globally installed Amplify CLI via NPM and via CURL. But, despite it showing as successfully installed, it doesn't recognize the "amplify" command. Note: I'm using Mac OS.
Commands Tried:
npm install -g @aws-amplify/cli
curl -sL https://aws-amplify.github.io/amplify-cli/install | bash && $SHELL
Both show succesful install results like below:
But...
Whenever I run "amplify" as a command or "amplify configure" it doesn't recognize it in the terminal. What could be the cause of this? What am I doing wrong?
One thing I’m noticing is it does not indicate in terminal that it’s configured within my $Path. If that’s the root cause of the issue, how come the CURL command I ran doesn’t add it to my zshrc file?
Thank you in advance!
Upvotes: 3
Views: 2416
Reputation: 103
Most likely amplify was successfully installed in ~/.amplify/bin (where ~ is your home directory) but not added to path. To fix
Upvotes: 3