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 trial

Databases

jason chan
jason chan
31,009 Points

how to install mongodb on windows 8.1

first go to mongodb.com

install it.

C:\Program Files\MongoDB\Server\3.2\bin

or where ever mongodb directory is.

open mongod.exe and mongo.exe

now follow a long. Make sure there are two terminals one for server and one to go into shell to do console commands. Now you can follow huston. :) HURRAY!

For MAC it's also two terminals!!!!!!!!!

jason

3 Answers

Sergey Podgornyy
Sergey Podgornyy
20,660 Points

Here is official video from MongoDB Inc. how to install it on Windows

Sergey Podgornyy
Sergey Podgornyy
20,660 Points

If you are intresting in MongoDB, I suggest you to check official course from Mongo University.

More about this course you can read on my LinkedIn blog

Ken Alger
STAFF
Ken Alger
Treehouse Teacher

Jason;

Yes, you will indeed need at least two terminal windows open. When you start mongod you are starting the database server which, by default, will be listening to port 27017 for connections. When you start mongo you get the shell and can then connect to your server(s).

Great point and observation, if that wasn't covered in the course.

Happy coding,
Ken

Ken Alger
Ken Alger
Treehouse Teacher

Jason;

You can take a look at MongoDB Compass as well for GUI interaction.

Happy coding,
Ken