在~/.bash_profile中添加
export PATH=/usr/local/Cellar/mongodb/3.2.7/bin:${PATH}}
然后执行
source ~/.bash_profile
其次又在
~/.zshrc
添加
source ~/.bash profile(或者是.bash profile里面的path路径?)
需要执行这个?source ~/.zshrc
https://blog.csdn.net/qq_35366269/article/details/126065585
https://blog.csdn.net/science_Lee/article/details/79214127
网友评论