I install MongoDB
by using homebrew
and set the path within .zshrc
:
export path=/usr/local/Cellar/mongodb/3.4.6/bin:$PATH
But when I open the iTerm2
, the stdout
give me this:
Last login: Sat Jul 22 19:57:33 on ttys001
/Users/elsa/.zshrc:export:95: path: inconsistent type for assignment
what's this? how to solve it?