Follow the below steps to install the latest version of MongoDB on Windows by scoop package manager.
scoop install mongodb -gcd C:\ProgramData\scoop\apps\mongodb\current\bin
mongod.exe --install --serviceName MongoDb --serviceDisplayName MongoDb --config C:\ProgramData\scoop\apps\mongodb\current\bin\mongod.cfgYou can use command line to start/stop MongoDB service or alternatively use the Services menu in the Task Manager.
net start MongoDb
net stop MongoDbNote: tested with MongoDB v7.0.1 on Windows 10.