1.cd ~ 2.vi .bashrc 3.在代码末尾增加一行: export PATH =/path/to/target-dir/bin:$PATH 4.source .bash_profile立即生效 相关文章: 2022-02-09 2021-08-16 2021-11-22 2021-07-20 2021-07-30 2022-12-23