Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialAdam Beer
11,314 PointsMongoDB settings for Windows
Why dont you create video how to use mongo with windows? It is little bit different without homebrew and other commands
5 Answers
Hannah Mycock
14,899 PointsTo help other users with this problem...
The easiest way I found to run Mongo was: Open MongoDB>bin folder Right click mongod>run as Adminstrator Right click mongo>run as Adminstrator
Then your Mongo daemon and Mongo shell will be running. Input commands into the shell. mongod must be running before trying to open the shell. Then you can follow along with Huston
Tom Stanley
15,308 PointsThis helped, thanks!
Vashco Mukanangana
34,487 PointsThanks. This helped a lot.
Adam Beer
11,314 PointsHi Ken.
Thank you for help. I solved this course but it wasn't easy. Getting started was difficult. I couldn't use Mongo hacker on windows.
Ken Alger
Treehouse TeacherTo be clear and fair, this course is a few years old now. MongoDB has evolved since then both technically and with their product offerings. Some that I'd recommend are the DBaaS offering, MongoDB Atlas which means you do not have to set up a local database. Another product is MongoDB Compass which is a GUI interface for MongoDB and has a lot of pretty nice features to help learn and develop with MongoDB.
Ken Alger
Treehouse TeacherAdam;
Do you have specific questions about how to get started with MongoDB on Windows?
Ken
Everistus Akpabio
2,929 Points- copy the path
C:\Program Files\MongoDB\Server\4.0\bin
- search for environment variables
- under user variables, select path and edit
- click on New and paste the copied path
- restart cmd and the commands should now work without navigating to the directory
Ula Troc
1,881 PointsTo help others, if you need mongo db for your project you can set it up in the cloud, which is the current trend in the industry, to be able to set a db not locally, like in this video but in the cloud.
You can do this using the free service up to 500 mb - its great for development.
Ken Alger
Treehouse TeacherIndeed. MongoDB Atlas is a wonderful option. Just haven't wanted to push it given the existing Treehouse course and my current position. :-)
Vashco Mukanangana
34,487 PointsVashco Mukanangana
34,487 PointsI agree with Adam. This video is not clear enough to be understood by beginners trying to follow along the installation on a windows machine. Thank you.