标签: mongodb macos
我尝试安装mongodb但每次打开新窗口或新标签时都必须这样做
export PATH=/Users/Jane/mongodb/bin:$PATH
否则我会收到-bash: mongo: command not found的错误。我尝试通过
-bash: mongo: command not found
open ~/.bash_profile
我可以看到export PATH=/Users/Jane/mongodb/bin:$PATH。有什么问题?