install and start mongodb windows code example
Example 1: windows start mongodb server
// Add the folder containing mongod to your PATH variable (see source for how)
// usually located here: 'C:\Program Files\MongoDB\Server\4.4\bin'
// open cmd.exe and run this command;
start mongod
Example 2: mongodb installation
alias mongod="/c/Program\ files/MongoDB/Server/4.0/bin/mongod.exe"alias mongo="/c/Program\ Files/MongoDB/Server/4.0/bin/mongo.exe"