mac中添加环境变量

sudo vi /etc/paths
来编辑 paths,将环境变量添加到 paths 中。
vim 是一个编辑器,另外还有几个,如:Pico,Emacs。
 
原文地址:https://www.cnblogs.com/scaptain/p/4062344.html