> ~/.zshrc $ source ~/.zshrc"> > ~/.zshrc $ source ~/.zshrc"> > ~/.zshrc $ source ~/.zshrc">
$ vim ~/.zshrc
添加 export PATH="/opt/anaconda3/bin:$PATH" // 替换为对应路径

或者使用"echo"命令
$ echo 'export PATH="/opt/anaconda3/bin:$PATH"' >> ~/.zshrc

$ source ~/.zshrc