Download it from the official download page.
When asked if you want a "Complete" or a "Custom" installation, select "Custom". Don't change any installation default option, but uncheck the box that says "Run as a service". That would mean MongoDB is always turned on, even while you're not using it.
When asked if you want to install MongoDB Compass, accept it.