说明:
运行Node.js的LeanCloud项目时候,一直提示-bash: lean: command not found
运行了:
brew update brew install lean-cli
也没有用。覆盖lean-cli提示已经连接:
zst:pet-online zst$ brew link --overwrite lean-cli Warning: Already linked: /usr/local/Cellar/lean-cli/0.12.1 To relink: brew unlink lean-cli && brew link lean-cli
解决方法:
原文链接:https://www.f2er.com/bash/391343.html断开lean-cli再重新连接 lean-cli即可
断开:
brew unlink lean-cli
重新连接:brew link lean-cli