Skip to main content

Usage

To launch Mongo Dash, run the following command from your terminal. Mongo Dash will launch at http://localhost:3000.

$ mongo_dash --mongo-uri mongodb://localhost --database-name database

Replace mongodb://localhost with the URI for your database server. If your database requires authentication, construct the string as follows mongodb://user:pass@hostname:port (the typical port number is 27017). Replace database with your database of choice. This can also be changed from the UI once launched.

CLI flags#

FlagDescription
mongo-uriThe URI to your MongoDB database server (with authentication, if necessary)
database-nameThe database name you want to connect to on the database server
hostThe host / IP address to bind Mongo Dash to. Defaults to localhost
portThe port number to bind Mongo Dash to. Defaults to 3000