mongo Shell"/>
This version of the manual is no longer supported.

Using the mongo ShellΒΆ

The mongo shell is an interactive JavaScript shell for MongoDB, and is part of all MongoDB distributions. This section provides an introduction to the shell, and outlines key functions, operations, and use of the mongo shell.

Most examples in the MongoDB Manual use the mongo shell; however, many drivers provide similar interfaces to MongoDB.

The Getting Started with MongoDB Development provides a general introduction to MongoDB using examples from the mongo shell. Additionally, the following documents from other sections address topics relevant to the mongo shell use:

Furthermore, consider the following reference material that addresses the mongo shell and its interface: