3
3
.. _mcli-install:
4
4
5
5
==================================================================
6
- Install the {+mcli+}
6
+ Install or Update the {+mcli+}
7
7
==================================================================
8
8
9
9
.. default-domain:: mongodb
10
10
11
+ .. contents:: On this page
12
+ :local:
13
+ :backlinks: none
14
+ :depth: 1
15
+ :class: singlecol
16
+
11
17
.. toctree::
12
18
:titlesonly:
13
19
@@ -17,15 +23,16 @@ You can use the {+mcli-long+} to deploy and manage MongoDB clusters in
17
23
|service|, |cloud-short|, and |onprem|. For operating system and MongoDB
18
24
service version requirements, see :ref:`mcli-compatibility`.
19
25
26
+ Install the {+mcli+}
27
+ ----------------------------
28
+
20
29
To install the {+mcli+}, choose one of the following methods:
21
30
22
31
1. Install with a package manager like Homebrew,
23
32
Yum, or Apt.
24
33
#. Download and extract the binary.
25
34
#. Clone the GitHub repository and install the {+mcli+} with Go.
26
35
27
- |
28
-
29
36
.. _mcli-install-prereqs:
30
37
31
38
.. tabs::
@@ -34,7 +41,7 @@ To install the {+mcli+}, choose one of the following methods:
34
41
:tabid: Homebrew
35
42
36
43
Prerequisites
37
- -------------
44
+ ~~~~~~~~~~~~~
38
45
39
46
To install the {+mcli+} using Homebrew, you must:
40
47
@@ -48,7 +55,7 @@ To install the {+mcli+}, choose one of the following methods:
48
55
:tabid: apt
49
56
50
57
Prerequisites
51
- -------------
58
+ ~~~~~~~~~~~~~
52
59
53
60
To install the {+mcli+} using Apt, you must install ``gnupg``:
54
61
@@ -63,7 +70,7 @@ To install the {+mcli+}, choose one of the following methods:
63
70
:tabid: clone-repo
64
71
65
72
Prerequisites
66
- -------------
73
+ ~~~~~~~~~~~~~
67
74
68
75
To install the {+mcli+}, you must install the following tools:
69
76
@@ -72,7 +79,7 @@ To install the {+mcli+}, choose one of the following methods:
72
79
#. `Go v1.17 or newer <https://golang.org/doc/install#install>`_.
73
80
74
81
Procedure
75
- ---------
82
+ ~~~~~~~~~
76
83
77
84
.. tabs::
78
85
:hidden:
@@ -83,7 +90,7 @@ Procedure
83
90
.. include:: /includes/steps/install-mcli-brew.rst
84
91
85
92
.. tab:: Yum
86
- :tabid: yum
93
+ :tabid: yum
87
94
88
95
.. include:: /includes/steps/install-mcli-yum.rst
89
96
@@ -102,6 +109,54 @@ Procedure
102
109
103
110
.. include:: /includes/steps/install-mcli-repo.rst
104
111
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
+
105
160
Next Steps
106
161
----------
107
162
0 commit comments