微信扫一扫
# 用一个通用的命令配置环境变量
echo -e "export PATH=$(npm prefix -g)/bin:$PATH" >> ~/.bashrc && source ~/.bashrc
相关推荐