Ok. the path editing worked but now it’s the console part that doesn’t work :
Last login: Tue Aug 4 09:36:47 on ttys000
gaetan@MacBook-Pro-de-Gaetan ~ % mongo --nodb
zsh: command not found: mongo
gaetan@MacBook-Pro-de-Gaetan ~ % exec bash
The default interactive shell is now zsh.
To update your account to use zsh, please run chsh -s /bin/zsh.
For more details, please visit Use zsh as the default shell on your Mac - Apple Support.
bash-3.2$ mongo --nodb
bash: mongo: command not found
bash-3.2$