Skip to content

Commit 0150a42

Browse files
authored
(DOCSP-10356) Windows install procedure (#7)
* (DOCSP-10356) Windows install procedure
1 parent 3fe35af commit 0150a42

File tree

2 files changed

+60
-1
lines changed

2 files changed

+60
-1
lines changed
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
---
2+
source:
3+
file: steps-install-shell-base.yaml
4+
ref: navigate-dlc
5+
ref: navigate-dlc-windows
6+
---
7+
source:
8+
file: steps-install-shell-base.yaml
9+
ref: open-mdb-shell-page
10+
ref: open-mdb-shell-page-windows
11+
---
12+
source:
13+
file: steps-install-shell-base.yaml
14+
ref: download-archive
15+
ref: download-archive-windows
16+
---
17+
title: "Extract the files from the downloaded archive."
18+
ref: extract-archive
19+
level: 4
20+
---
21+
title: "Add the MongoDB Shell binary to your ``PATH`` environment
22+
variable."
23+
ref: add-shell-to-path
24+
level: 4
25+
content: |
26+
27+
Ensure that the extracted |mdb-shell| binary is in the desired
28+
location in your filesystem, then add that location to your ``PATH``
29+
environment variable.
30+
31+
To add the |mdb-shell| binary's location to your
32+
``PATH`` environment variable:
33+
34+
1. Open the :guilabel:`Control Panel`.
35+
36+
#. In the :guilabel:`System and Security` category, click
37+
:guilabel:`System`.
38+
39+
#. Click :guilabel:`Advanced system settings`. The **System
40+
Properties** modal displays.
41+
42+
#. Click :guilabel:`Environment Variables`.
43+
44+
#. In the *System variables* section, select ``Path`` and click
45+
:guilabel:`Edit`. The **Edit environment variable** modal
46+
displays.
47+
48+
#. Click :guilabel:`New` and add the filepath to your ``mongosh``
49+
binary.
50+
51+
#. Click :guilabel:`OK` to confirm your changes. On each other
52+
modal, click :guilabel:`OK` to confirm your changes.
53+
54+
To confirm that your ``PATH`` environment variable is correctly
55+
configured to find ``mongosh``, open a command prompt and enter the
56+
``mongosh --help`` command. If your ``PATH`` is configured
57+
correctly, a list of valid commands displays.
58+
59+
...

source/index.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Procedure
4444
.. tab::
4545
:tabid: windows
4646

47-
Hello, I am Windows content.
47+
.. include:: /includes/steps/install-shell-windows.rst
4848

4949
.. tab::
5050
:tabid: macOS

0 commit comments

Comments
 (0)