@@ -14,17 +14,17 @@ MongoDB Shell
14
14
15
15
.. include:: /includes/admonitions/fact-mdb-shell-beta.rst
16
16
17
- The |mdb-shell| is a fully functional JavaScript environment for
18
- interacting with MongoDB deployments. You can use the |mdb-shell| to
19
- test queries and operations directly with your database.
17
+ The |mdb-shell|, ``mongosh``, is a fully functional JavaScript
18
+ environment for interacting with MongoDB deployments. You can use the
19
+ |mdb-shell| to test queries and operations directly with your database.
20
20
21
- The |mdb-shell| is available as a standalone package in the MongoDB
21
+ ``mongosh`` is available as a standalone package in the MongoDB
22
22
download center.
23
23
24
24
Download and Install the |mdb-shell|
25
25
------------------------------------
26
26
27
- To learn how to download and install the |mdb-shell| , see
27
+ To learn how to download and install the ``mongosh`` binary , see
28
28
:ref:`mdb-shell-install`.
29
29
30
30
Connect to a MongoDB Deployment
@@ -78,21 +78,24 @@ you had entered into the editor.
78
78
The |mdb-shell| versus the Legacy ``mongo`` Shell
79
79
-------------------------------------------------
80
80
81
- The |mdb-shell| offers numerous advantages over the legacy
82
- :binary:`mongo <mongo> ` shell, such as:
81
+ The new MongoDB Shell, ``mongosh``, offers numerous
82
+ advantages over the legacy :binary:`~bin. mongo` shell, such as:
83
83
84
84
- Improved syntax highlighting.
85
85
86
86
- Improved command history.
87
87
88
88
- Improved logging.
89
89
90
- During the beta stage, the |mdb-shell| supports a subset of the legacy
91
- :binary:`mongo <mongo> ` shell commands. Extending the |mdb-shell| |api|
92
- coverage is an ongoing effort.
90
+ During the beta stage, ``mongosh`` supports a subset of the
91
+ :binary:`~bin. mongo` shell methods. Achieving feature parity between
92
+ ``mongosh`` and the ``mongo`` shell is an ongoing effort.
93
93
94
- The commands that the |mdb-shell| supports use the same syntax as the
95
- corresponding commands in the legacy :binary:`mongo <mongo>` shell.
94
+ To maintain backwards compatibility, the methods that ``mongosh``
95
+ supports use the same syntax as the corresponding methods in the
96
+ :binary:`~bin.mongo` shell. To see the complete list of methods
97
+ supported by ``mongosh``, see
98
+ :doc:`MongoDB Shell Methods </reference/methods>`.
96
99
97
100
Learn More
98
101
----------
0 commit comments