[Mac] 修改環境變數下的路徑

列出環境變數

printenv

列出環境變數下的 Path

echo $PATH

打開 bash profile

vi ~/.bash_profile

新增路徑到 PATH

export PATH=$PATH:路徑名稱

存擋

:wq

執行 bash profile

source ~/.bash_profile

留言

這個網誌中的熱門文章

Chrome native messaging host with C# app in windows

Little Endian VS Big Endian

electron打包:electron-packager及electron-builder兩種方式實現(for Windows)