我刚刚按照本指南在我的MacBook上安装了appcenter CLI:https://docs.microsoft.com/en-us/appcenter/cli/
尝试从终端运行命令时,例如appcenter login
我收到以下错误:
-bash: appcenter: command not found
我退出了所有终端进程并再次启动,但也没有运气。我是否需要导出某种路径才能工作?
来自Appcenter的Anvesh向我指出了这个链接:-bash: react-native: command not found虽然不是appcenter本身,但它通过添加正确的路径解决了我的问题。