Skip to content

Commit a6656fd

Browse files
Merge pull request #67 from kanchana-mongodb/DOCSP-24941
DOCSP-24941 Add support for Chocholatey to the installation options
2 parents 5c83028 + be9e14a commit a6656fd

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

source/install-atlas-cli.txt

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,20 @@ To check whether your operating system is compatible with the
5252

5353
sudo apt-get install gnupg
5454

55+
.. tab:: Chocolatey
56+
:tabid: chocolatey
57+
58+
Complete the Prerequisites
59+
~~~~~~~~~~~~~~~~~~~~~~~~~~
60+
61+
To install the {+atlas-cli+} using Chocolatey, you must do the
62+
following:
63+
64+
1. Ensure that your system meets the `requirements
65+
<https://docs.chocolatey.org/en-us/choco/setup#requirements>`__ for installing Chocolatey.
66+
#. Install Chocolatey using ``cmd.exe`` or ``PowerShell.exe``. To
67+
learn more, see `Installing Chocolatey <https://docs.chocolatey.org/en-us/choco/setup#installing-chocolatey>`__.
68+
5569
.. tab:: Download Binary
5670
:tabid: download-binary
5771

@@ -358,6 +372,23 @@ Follow These Steps
358372

359373
.. include:: /includes/steps-verify-atlas-cli.rst
360374

375+
.. tab:: Chocolatey
376+
:tabid: chocolatey
377+
378+
.. procedure::
379+
380+
.. step:: Install the {+atlas-cli+}.
381+
382+
.. code-block:: shell
383+
384+
choco install mongodb-atlas
385+
386+
.. step:: When prompted, enter ``A`` to confirm installation.
387+
388+
.. step:: Close and reopen your terminal after the installation to see the changes in your path.
389+
390+
.. include:: /includes/steps-verify-atlas-cli.rst
391+
361392
.. tab:: Download Binary
362393
:tabid: download-binary
363394

@@ -495,6 +526,22 @@ method you used to install the {+atlas-cli+}:
495526

496527
.. include:: /includes/steps-verify-update-atlas-cli.rst
497528

529+
.. tab:: Chocolatey
530+
:tabid: chocolatey
531+
532+
Follow These Steps
533+
~~~~~~~~~~~~~~~~~~
534+
535+
.. procedure::
536+
537+
.. step:: Install the {+atlas-cli+}.
538+
539+
.. code-block:: shell
540+
541+
choco upgrade mongodb-atlas
542+
543+
.. include:: /includes/steps-verify-update-atlas-cli.rst
544+
498545
.. tab:: Download Binary
499546
:tabid: download-binary
500547

0 commit comments

Comments
 (0)