$ sudo mkdir -p /data/db $ ./mongod $ $ # The mongosh shell connects to localhost and test database by default: $ ./mongosh test> help