1. 啟動終端Terminal 2. 進入當前用戶的home目錄 輸入cd ~ 3. 創建.bash_profile 輸入touch .bash_profile 4. 編輯.bash_profile文件 輸入open .bash_profile ...
參考:http: mirrors.ustc.edu.cn help homebrew bottles.html 或者: 創建 .bash profile 查看 編輯 .bash profile 文件 更新剛配置的環境變量 一般在Mac上配置環境變量時經常要創建 編輯 .bash profile文件。 ...
2018-07-19 12:50 0 7803 推薦指數:
1. 啟動終端Terminal 2. 進入當前用戶的home目錄 輸入cd ~ 3. 創建.bash_profile 輸入touch .bash_profile 4. 編輯.bash_profile文件 輸入open .bash_profile ...
touch ~/.bash_profile; // 將目錄跳轉到.bash_profile這個文件夾 open -t ~/.bash_profile //打開.bash_profile文件 這時候會彈出一個新的窗口輸入 export PATH=$PATH:/Users/XXXXX ...
1、打開terminal(終端) 2、cd ~ ( 進入當前用戶的home目錄) 3、open .bash_profile (打開.bash_profile文件,如果文件不存在就 創建文件:touch .bash_profile 編輯文件:open -e bash_profile ...
1. 啟動終端Terminal 2. 進入當前用戶的home目錄 輸入cd ~ 3. 創建.bash_profile 輸入touch .bash_profile 4. 編輯.bash_profile文件 輸入open -e .bash_profile ...
.bash_profile配置文件 手動刪掉淘汰了的python2,用command line too ...
開發Android的環境要重新在Mac上搭建,結果在配置環境變量時找不到.bash_profile文件。查過很多資料解決方案都很籠統,結果還是在英文網站上找到解決方法。 1. 啟動終端Terminal 2. 進入當前用戶的home目錄 ...
說說配置環境變量的方法: vim ~/.bash_profile 進入配置文件 添加路徑例如: PATH=$PATH:\/Users/linyue/mywork/script:\ 保存后退出,source ~/.bash_profile,執行生效的指令 由於我每次關閉 ...