# mongodb安装brew tap mongodb/brewsudo brew install mongodb-community@4.2# 服务开启brew services start mongodb-community@4.2# 查看mongodb是否安装成功mongod --version# 创建表use pule_decisiondb.test.insert({'name': 'ksir'})show dbs