mac配置npm安装环境

218 阅读1分钟

一、

open -e .zshrc

二、

export PATH="/Users/用户名/.npm-global/bin:$PATH"

三、

source .zshrc