how to run mongodb on windows code example
Example 1: start mongodb
sudo systemctl start mongod
Example 2: 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