在Mac上設置環境變量的方法

原由 我使用Go來開發程序,安裝govendor之後發現命令行中執行govendor無效,需要將govendor所在的路徑添加到PATH環境變量中。 Mac中的環境變量介紹 Mac系統的環境變量,加載順序爲: /etc/profile /etc/paths ~/.bash_profile ~/.bash_login ~/.profile ~/.bashrc 當然/etc/profile和/etc/
相關文章
相關標籤/搜索