hot33331
hot33331

Reputation: 841

Cannot run appcenter CLI after successful install

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?

Upvotes: 3

Views: 6574

Answers (4)

Deepanshu
Deepanshu

Reputation: 163

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

Upvotes: 0

Prashant Reddy
Prashant Reddy

Reputation: 225

Try to install appcenter-cli globally

yarn global add appcenter-cli

or using npm

npm install -g appcenter-cli

Upvotes: 2

Gajen Sunthara
Gajen Sunthara

Reputation: 4816

I had similar issue and installing it globally worked

npm install -g appcenter-cli

Upvotes: 6

hot33331
hot33331

Reputation: 841

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.

Upvotes: 1

Related Questions