Skip to content

Commit 9712a21

Browse files
authored
(DOCSP-10382) PATH note (#18)
* (DOCSP-10382) PATH note
1 parent 8f49c4c commit 9712a21

File tree

3 files changed

+24
-2
lines changed

3 files changed

+24
-2
lines changed

source/commands.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ connected to your deployment.
115115
- Legacy :binary:`mongo <mongo>` shell
116116
- ``mongosh`` shell.
117117

118-
To learn how to install the legacy :binary:`mongo <mongo>`
119-
shell, see :manual:`Instal MongoDB </installation>`.
118+
119+
.. include:: /includes/admonitions/warn-configure-path.rst
120120

121121
Playground Commands
122122
-------------------
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
.. important::
2+
3+
To launch your selected MongoDB shell, you must:
4+
5+
- Install the shell you want to use, and
6+
7+
- Configure your machine's ``PATH`` environment variable to include
8+
the filepath to your shell binary.
9+
10+
If you install a new version of your MongoDB shell, you will need to
11+
update your ``PATH`` variable to reference the new version.
12+
13+
.. seealso::
14+
15+
- To install the legacy :binary:`mongo <mongo>`
16+
shell, see :manual:`The mongo Shell </mongo>`.
17+
18+
- To install the ``mongosh`` shell and for instructions on
19+
configuring your ``PATH`` variable, see
20+
`Install the MongoDB Shell <https://docs.mongodb.com/mongodb-shell/install>`__.

source/settings.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ The following table lists the available settings for
4444

4545
- ``mongosh`` (the new MongoDB shell)
4646

47+
.. include:: /includes/admonitions/warn-configure-path.rst
48+
4749
- ``mongo``
4850

4951
* - :guilabel:`Show`

0 commit comments

Comments
 (0)