赞
踩
Find the '.zshrc' file:
open ~
to access your home directory. (输入open ~)Cmd + Shift + .
to show the hidden files in Finder. (按command +shift + .)Edit the '.zshrc' file:(编辑.zshrc后保存)
add: source /Users/_user_Name_/.bash_profile
to the top of the file (where _user_Name_ stands for your user.(source /Users/YOUUSERNAME/.bash_profile或者source ~/.bash_profile)
export PATH=~/.npm-global/bin:$PATH(export PATH=/user/local/share/npm/bin:$PATH)
Save the file, and close the Terminal window.(保存文本并退出终端)
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。