3

I just installed appcenter CLI on my MacBook following this guide: https://learn.microsoft.com/en-us/appcenter/cli/

When trying to run the commands from Terminal, e.g. appcenter login I get the following error:

-bash: appcenter: command not found

I quit all my terminal processes and startet one again, but no luck either. Do I need to export some sort of path for it to work?

hot33331
  • 805
  • 11
  • 25

4 Answers4

6

I had similar issue and installing it globally worked

npm install -g appcenter-cli
Gajen Sunthara
  • 4,470
  • 37
  • 23
3

Try to install appcenter-cli globally

yarn global add appcenter-cli

or using npm

npm install -g appcenter-cli

Prashant Reddy
  • 309
  • 1
  • 3
  • 8
1

Anvesh from Appcenter pointed me to this link: -bash: react-native: command not found While it is not for appcenter per se, it solved my problem by adding the correct path.

hot33331
  • 805
  • 11
  • 25
0

I was also facing the same issue ,After running the installation cmd for appcenter-cli on successfully and when I have tried to check appcenter version using appcenter -v cmd on normal command prompt.. it gives me same error: appcenter: command not found later on when i have tried to run same cmd on node.js command prompt then it able to fetch appcenter details...

Deepanshu
  • 133
  • 1
  • 3