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
猜你喜欢
  • 2021-10-22
  • 2022-12-23
  • 2022-03-06
  • 2021-05-30
  • 2021-11-28
  • 2021-10-17
相关资源
相似解决方案