node成功安装 但是npm用不了

"-bash : npm: command not found" 解决方法,卸载重装

brew uninstall node

brew update

brew upgrade

brew cleanup

brew install node

sudo chown -R myusername /usr/local

brew link --overwrite node

brew postinstall node

你可能感兴趣的:(node成功安装 但是npm用不了)