I'm installing version 6.3.2 but you can change the version anything you want to install just by replacing "6.3.2" with the other version.
scoop install mongodb@6.3.2 -g
cd C:\ProgramData\scoop\apps\mongodb\6.3.2\bin
mongod.exe --install --serviceName MongoDB@6.3.2 --serviceDisplayName MongoDB@6.3.2
net start MongoDB@6.3.2
net stop MongoDB@6.3.2
Note: you can use Task Manager -> Services tab -> [email protected] to start/stop without commands above.