Trusted answers to developer questions
Trusted Answers to Developer Questions

Related Tags

mongodb
database
communitycreator

How to run MongoDB locally

Theodore Kelechukwu Onyejiaku

What is MongoDB?

MongoDB, which is short for Mongo Daemon, is a NoSQLNoSQL systems can handle both structured and unstructured data in a very efficient manner. database that is:

  • fast.
  • object-oriented.
  • simple.
  • dynamic.
  • scalable.
  • used for modern applications.

How to run MongoDB locally

Here are the steps to get MongoDB to run on your computer.

Step 1

Visit the official website and download the MSI community version.

Download MongoDB here.

Step 2

Double-click the downloaded file to install MongoDB.

Step 3

Select Install MongoDB as a service.

Step 4

Locate the installation path and copy the .bin address. The bin address should look like this: “C:\Program Files\MongoDB\Server\4.4\bin”

Step 5

Save the address in the environment variable of your computer.

Step 6

Open your command prompt (cmd) and type mongo; this will start up your MongoDB database.

To run commands, here is a shot on how to get started: 12 basic MongoDB commands.

RELATED TAGS

mongodb
database
communitycreator

CONTRIBUTOR

Theodore Kelechukwu Onyejiaku
RELATED COURSES

View all Courses

Keep Exploring