You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/tools/offline/cli-setup.md
+31-3Lines changed: 31 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,8 @@
3
3
4
4
You can install Mbed CLI on Windows, Linux and Mac OS X.
5
5
6
+
<spanclass="tips">If you're working on Windows, we recommend you use the [Windows installer for Mbed CLI](#windows-installer-for-mbed-cli). For Linux and Mac OS X, refer to the section [Installing Mbed CLI standalone stable version](#installing-mbed-cli-standalone-stable-version)</span>
7
+
6
8
### Requirements
7
9
8
10
-**Python:** Mbed CLI is a Python script, so you'll need Python to use it:
@@ -57,11 +59,11 @@ $ python setup.py install
57
59
58
60
On Linux or Mac, you may need to run with `sudo`.
59
61
60
-
#### Mbed CLI for Windows installer
62
+
#### Windows installer for Mbed CLI
61
63
62
64
Mbed CLI for Windows installs <a href="https://github.com/ARMmbed/mbed-cli" target="_blank">Mbed CLI</a> with all requirements on Windows 7 and newer (both the 32- and 64-bit versions).
63
65
64
-
Mbed CLI for Windows installs the following components:
66
+
The Windows installer for Mbed CLI for includes the following components:
65
67
66
68
- **Python** - Mbed CLI is a Python script, so you need Python to use it. Installer installs <a href="https://www.python.org/downloads/release/python-2713/" target="_blank">version 2.7.13 of Python</a>. It is not compatible with Python 3.
67
69
- **Mbed CLI version 1.2.0** - <a href="https://github.com/ARMmbed/mbed-cli" target="_blank">Mbed CLI</a>.
@@ -71,7 +73,7 @@ Mbed CLI for Windows installs the following components:
71
73
- **GNU Arm Embedded Toolchain** - <a href="https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads" target="_blank">GNU Embedded Toolchain for Arm</a>.
72
74
- **Mbed Windows serial port driver** - <a href="/docs/v5.6/tutorials/windows-serial-driver.html" target="_blank">serial port driver</a>.
73
75
74
-
##### Install Mbed CLI for Windows installer
76
+
##### Install Windows installer for Mbed CLI
75
77
76
78
1. Download the latest executable from <a href="https://mbed-media.mbed.com/filer_public/c8/79/c8792672-7b80-4c48-ac51-d08691c1515a/mbed_installer_v042.exe" target="_blank">`mbed-windows-installer v0.42`</a>.
77
79
2. Run `mbed_installer_v042.exe`.
@@ -106,6 +108,32 @@ $ mbed --help
106
108
107
109
4. Check <a href="https://github.com/ARMmbed/mbed-cli" target="_blank">Mbed CLI</a> for more examples.
108
110
111
+
### Installing Mbed CLI standalone stable version
112
+
113
+
Find the latest stable version of Mbed CLI through pip by running:
114
+
115
+
```
116
+
$ pip install mbed-cli
117
+
```
118
+
119
+
On Linux or Mac, you may need to run with `sudo`.
120
+
121
+
#### Optional: installing the development version
122
+
123
+
To work with the development version and contribute to Mbed CLI, clone the development repository [https://github.com/ARMmbed/mbed-cli](https://github.com/ARMmbed/mbed-cli):
0 commit comments