Skip to content

Commit 5ebde5b

Browse files
authored
(DOCSP-23230) Adds package to install Atlas CLI and mongosh together (#49)
* (DOCSP-23230) Adds package to install Atlas CLI and mongosh together * Updates source constant and release notes for 1.1.3 * Adds changes from tech review to brew command
1 parent 7f372f2 commit 5ebde5b

File tree

4 files changed

+85
-14
lines changed

4 files changed

+85
-14
lines changed

snooty.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ toc_landing_pages = [
2525
aagent = "Automation Agent"
2626
atlas-cli = "Atlas CLI"
2727
atlas-cli-full = "MongoDB Atlas CLI"
28-
atlas-cli-version = "1.1.1"
28+
atlas-cli-version = "1.1.3"
2929
cloudgov = ":atlas:`MongoDB Atlas for Government </government>`"
3030
cloudgov-short = "AtlasGov"
3131
cluster = "cluster"

source/atlas-cli-changelog.txt

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,26 @@
1212
:depth: 1
1313
:class: singlecol
1414

15+
.. _atlas-cli-1.1.3:
16+
17+
{+atlas-cli+} 1.1.3
18+
-------------------
19+
20+
Released 13 June 2022
21+
22+
- Improves the :ref:`atlas-quickstart` command:
23+
24+
- Prompts you to log in if you aren't already logged in.
25+
- Clarifies an error message when no regions are found for a given cloud
26+
provider.
27+
28+
- Improves :ref:`telemetry <telemetry>`:
29+
30+
- Tracks when you interrupt a running {+atlas-cli+} command by using
31+
:kbd:`CTRL` + :kbd:`C`.
32+
- Tracks some previously untracked errors.
33+
- Enhances interactive input tracking.
34+
1535
.. _atlas-cli-1.1.2:
1636

1737
{+atlas-cli+} 1.1.2

source/install-atlas-cli.txt

Lines changed: 63 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -66,19 +66,26 @@ Follow These Steps
6666

6767
.. procedure::
6868

69-
.. step:: Install the {+atlas-cli+}.
69+
.. step:: Install the {+atlas-cli+} and {+mongosh+}.
7070

71-
Invoke the following ``brew`` command:
71+
Invoke the following ``brew`` command to install both the
72+
{+atlas-cli+} and {+mongosh+}:
7273

7374
.. code-block:: sh
7475

75-
brew install mongodb-atlas-cli
76+
brew install mongodb-atlas
7677

77-
.. include:: /includes/steps-verify-atlas-cli.rst
78+
.. note::
79+
80+
You can also use the ``brew install mongodb-atlas-cli`` command to install both the {+atlas-cli+} and
81+
{+mongosh+}. You can't install the {+atlas-cli+} alone
82+
on Homebrew.
83+
84+
.. include:: /includes/steps-verify-atlas-cli.rst
7885

7986
.. tab:: Yum
8087
:tabid: yum
81-
88+
8289
.. procedure::
8390

8491
.. step:: Configure ``yum`` for your edition of MongoDB.
@@ -158,9 +165,18 @@ Follow These Steps
158165
enabled=1
159166
gpgkey=https://pgp.mongodb.com/server-5.0.asc
160167

161-
.. step:: Install the {+atlas-cli+}.
168+
.. step:: Install the {+atlas-cli+} and {+mongosh+}.
169+
170+
Invoke the following ``yum`` command to install both the
171+
{+atlas-cli+} and {+mongosh+}:
172+
173+
.. code-block:: sh
174+
175+
sudo yum install -y mongodb-atlas
162176

163-
Invoke the following ``yum`` command:
177+
If you don't want to install {+mongosh+}, invoke the
178+
following ``yum`` command instead to install the
179+
{+atlas-cli+} only:
164180

165181
.. code-block:: sh
166182

@@ -274,9 +290,18 @@ Follow These Steps
274290

275291
sudo apt-get update
276292

277-
.. step:: Install the {+atlas-cli+}.
293+
.. step:: Install the {+atlas-cli+} and {+mongosh+}.
294+
295+
Invoke the following ``apt`` command to install both the
296+
{+atlas-cli+} and {+mongosh+}:
278297

279-
Invoke the following ``apt`` command:
298+
.. code-block:: sh
299+
300+
sudo apt-get install -y mongodb-atlas
301+
302+
If you don't want to install {+mongosh+}, invoke the
303+
following ``apt`` command instead to install the
304+
{+atlas-cli+} only:
280305

281306
.. code-block:: sh
282307

@@ -350,7 +375,16 @@ method you used to install the {+atlas-cli+}:
350375

351376
.. step:: Update the {+atlas-cli+}.
352377

353-
Invoke the following ``brew`` command:
378+
If you installed the {+atlas-cli+} and {+mongosh+} together using the ``mongodb-atlas`` package, invoke the following ``brew`` command:
379+
380+
.. code-block:: sh
381+
382+
brew update
383+
brew upgrade mongodb-atlas
384+
385+
If you installed the {+atlas-cli+} and {+mongosh+} together
386+
using the ``mongodb-atlas-cli`` package, invoke the
387+
following ``brew`` command:
354388

355389
.. code-block:: sh
356390

@@ -369,7 +403,15 @@ method you used to install the {+atlas-cli+}:
369403

370404
.. step:: Update the {+atlas-cli+}.
371405

372-
Invoke the following ``yum`` command:
406+
If you installed the {+atlas-cli+} and {+mongosh+} together using the ``mongodb-atlas`` package, invoke the following ``yum`` command:
407+
408+
.. code-block:: sh
409+
410+
yum update mongodb-atlas
411+
412+
If you installed the {+atlas-cli+} only using the
413+
``mongodb-atlas-cli`` package, invoke the following ``yum``
414+
command:
373415

374416
.. code-block:: sh
375417

@@ -387,7 +429,16 @@ method you used to install the {+atlas-cli+}:
387429

388430
.. step:: Update the {+atlas-cli+}.
389431

390-
Invoke the following command:
432+
If you installed the {+atlas-cli+} and {+mongosh+} together
433+
using the ``mongodb-atlas`` package, invoke the following
434+
``apt`` command:
435+
436+
.. code-block:: sh
437+
438+
sudo apt-get install --only-upgrade mongodb-atlas
439+
440+
If you installed the {+atlas-cli+} only using the
441+
``mongodb-atlas-cli`` package, invoke the following ``apt`` command:
391442

392443
.. code-block:: sh
393444

submodules/mongodb-atlas-cli

Submodule mongodb-atlas-cli updated 56 files

0 commit comments

Comments
 (0)