1 docker run -d -p 27017:27017 --name mongo_4_4_2 mongo:4.4.2
mongosh 命令行client
https://docs.mongodb.com/mongodb-shell/install
1If you need to have node@14 first in your PATH run:
2 echo 'export PATH="/usr/local/opt/node@14/bin:$PATH"' >> ~/.zshrc
3
4For compilers to find node@14 you may need to set:
5 export LDFLAGS="-L/usr/local/opt/node@14/lib"
6 export CPPFLAGS="-I/usr/local/opt/node@14/include"
mongo doc