33.. _mcli-install:
44
55==================================================================
6- Install the {+mcli+}
6+ Install or Update the {+mcli+}
77==================================================================
88
99.. default-domain:: mongodb
1010
11+ .. contents:: On this page
12+ :local:
13+ :backlinks: none
14+ :depth: 1
15+ :class: singlecol
16+
1117.. toctree::
1218 :titlesonly:
1319
@@ -17,15 +23,16 @@ You can use the {+mcli-long+} to deploy and manage MongoDB clusters in
1723|service|, |cloud-short|, and |onprem|. For operating system and MongoDB
1824service version requirements, see :ref:`mcli-compatibility`.
1925
26+ Install the {+mcli+}
27+ ----------------------------
28+
2029To install the {+mcli+}, choose one of the following methods:
2130
22311. Install with a package manager like Homebrew,
2332 Yum, or Apt.
2433#. Download and extract the binary.
2534#. Clone the GitHub repository and install the {+mcli+} with Go.
2635
27- |
28-
2936.. _mcli-install-prereqs:
3037
3138.. tabs::
@@ -34,7 +41,7 @@ To install the {+mcli+}, choose one of the following methods:
3441 :tabid: Homebrew
3542
3643 Prerequisites
37- -------------
44+ ~~~~~~~~~~~~~
3845
3946 To install the {+mcli+} using Homebrew, you must:
4047
@@ -48,7 +55,7 @@ To install the {+mcli+}, choose one of the following methods:
4855 :tabid: apt
4956
5057 Prerequisites
51- -------------
58+ ~~~~~~~~~~~~~
5259
5360 To install the {+mcli+} using Apt, you must install ``gnupg``:
5461
@@ -63,7 +70,7 @@ To install the {+mcli+}, choose one of the following methods:
6370 :tabid: clone-repo
6471
6572 Prerequisites
66- -------------
73+ ~~~~~~~~~~~~~
6774
6875 To install the {+mcli+}, you must install the following tools:
6976
@@ -72,7 +79,7 @@ To install the {+mcli+}, choose one of the following methods:
7279 #. `Go v1.17 or newer <https://golang.org/doc/install#install>`_.
7380
7481Procedure
75- ---------
82+ ~~~~~~~~~
7683
7784.. tabs::
7885 :hidden:
@@ -83,7 +90,7 @@ Procedure
8390 .. include:: /includes/steps/install-mcli-brew.rst
8491
8592 .. tab:: Yum
86- :tabid: yum
93+ :tabid: yum
8794
8895 .. include:: /includes/steps/install-mcli-yum.rst
8996
@@ -102,6 +109,54 @@ Procedure
102109
103110 .. include:: /includes/steps/install-mcli-repo.rst
104111
112+ Update the {+mcli+}
113+ ---------------------------
114+
115+ To update the {+mcli+}, follow the procedure for the method with which
116+ you installed the {+mcli+}:
117+
118+ .. tabs::
119+
120+ .. tab:: Homebrew
121+ :tabid: Homebrew
122+
123+ Procedure
124+ ~~~~~~~~~
125+
126+ .. include:: /includes/steps/update-mcli-brew.rst
127+
128+ .. tab:: Yum
129+ :tabid: yum
130+
131+ Procedure
132+ ~~~~~~~~~
133+
134+ .. include:: /includes/steps/update-mcli-yum.rst
135+
136+ .. tab:: Apt
137+ :tabid: apt
138+
139+ Procedure
140+ ~~~~~~~~~
141+
142+ .. include:: /includes/steps/update-mcli-apt.rst
143+
144+ .. tab:: Download Binary
145+ :tabid: download-binary
146+
147+ Procedure
148+ ~~~~~~~~~
149+
150+ .. include:: /includes/steps/update-mcli-binary.rst
151+
152+ .. tab:: Clone Repository
153+ :tabid: clone-repo
154+
155+ Procedure
156+ ~~~~~~~~~
157+
158+ .. include:: /includes/steps/update-mcli-repo.rst
159+
105160Next Steps
106161----------
107162
0 commit comments