appcenter-cli: appcenter: command not found. Mac OS and ZSH
I’m installing appcenter on my react native project and I’m following the instructions on the docs. However, I can’t use any appcenter command on my terminal.
I installed appcenter-cli a bunch of times (tried as root and as normal user). But nothing. I always get zsh: command not found: appcenter
.
My setup is
Mac OS High Sierra, 10.13.5 Node 9.11.2 npm 5.6.0
Any help is appreciated.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 3
- Comments: 15 (2 by maintainers)
For anyone else still facing this issue, try using yarn to install appcenter-cli, i spent almost an hour and at last went with yarn and it works as a charm
yarn global add appcenter-cli
@amchew Hi Amanda, hoping you can help. I’m oddly getting the same issue here
Not sure what I’m doing wrong.
Hey there @otaviogaiao! Let’s debug. First, you have to install Node.js version 8 or higher. When you run
npm install -g appcenter-cli
, what is the error message that appears?@amchew I just found out what the issue is. For some reason the package is being installed under another version of node other than what I’m using (I’m also using the N package manager).
I can take care from here.
Thank you!! Closing the issue!