如果使用默认Bash,
首先修改 ~/.bash_profile 文件,添加文件路径,比如:

export PATH=~/bin:/usr/local/bin/node:~/Downloads/software/gradle-1.0/bin/:$PATH

然后输入 source ~/.bash_profile 使之生效。

如果使用的是 zshell , 编辑 ~/.zshrc 文件, 然后再 source ~/.zshrc

相关文章:

  • 2022-03-03
  • 2021-12-14
  • 2021-12-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-13
  • 2022-01-13
猜你喜欢
  • 2021-11-15
  • 2021-07-25
  • 2021-08-14
  • 2022-12-23
  • 2022-12-23
  • 2021-08-13
  • 2021-12-14
相关资源
相似解决方案