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
Two installation methods are available for Windows. The first is a prebuilt installer that you can use quickly. The second installation method is more flexible and allows for greater customization to better fit your system's needs.
12
12
13
-
#####Prebuilt Mbed CLI installer
13
+
### Prebuilt Mbed CLI installer
14
14
15
15
Download and run the [Mbed CLI Windows .exe installer](https://github.com/ARMmbed/mbed-cli-windows-installer/releases/latest).
16
16
17
17
You can ensure Mbed CLI installed correctly by running `mbed help` from your command-line.
18
18
19
19
<spanclass="notes">**Note:** The Windows installer only installs the GNU Arm embedded toolchain. If you want to compile using Arm Compiler 5 or IAR, visit the [supported compilers page](../tools/index.html#compiler-versions).</span>
20
20
21
-
#####Manual installation
21
+
### Manual installation
22
22
23
-
######1. Download and install Python and Pip
23
+
#### 1. Download and install Python and Pip
24
24
25
25
Download and install [Python versions 2.7.11 or 3.6.5](https://www.python.org/downloads/windows/) or later for Windows. Both Python versions come with their own version of Pip.
26
26
27
27
<spanclass="notes">**Note:** When the installer launches, check the checkbox that says **Add Python X.Y to PATH**. Otherwise, Windows does not know where to search for the Python executable.</span>
28
28
29
-
######2. Install a compiler
29
+
#### 2. Install a compiler
30
30
31
31
Download and install a compiler.
32
32
33
33
<spanclass="notes">**Note:** To download the latest toolchains, visit the [supported compilers page](../tools/index.html#compiler-versions).</span>
34
34
35
-
######3. Install Mbed CLI
35
+
#### 3. Install Mbed CLI
36
36
37
37
To install Mbed CLI, run `pip install mbed-cli` from your command-line.
38
38
39
39
You can ensure Mbed CLI installed correctly by running `mbed --version`.
40
40
41
-
#####4. Setup environment
41
+
#### 4. Setup environment
42
42
43
43
After installation is complete, be sure to add any available toolchains to Mbed CLI's global configuration. Below is an example using the ARM compiler:
44
44
@@ -54,35 +54,35 @@ ARM_PATH=<path to ARM bin\>
54
54
55
55
<spanclass="notes">**Note:** You can also apply the same configuration to the IAR and GNU toolchains using `IAR_PATH` or `GCC_ARM_PATH`.</span>
56
56
57
-
###macOS
57
+
## macOS
58
58
59
-
#####Prebuilt Mbed CLI installer
59
+
### Prebuilt Mbed CLI installer
60
60
61
61
Download and run the [macOS installer for Mbed CLI](https://github.com/ARMmbed/mbed-cli-osx-installer/releases/latest).
62
62
63
-
#####Manual installation
63
+
### Manual installation
64
64
65
-
######1. Install Python and Pip
65
+
#### 1. Install Python and Pip
66
66
67
67
macOS 10.8+ comes with Python 2.7 preinstalled by Apple. If you are running an earlier version of macOS, download and install [Python versions 2.7.11 or 3.6.5](https://www.python.org/downloads/mac-osx/) or later.
68
68
69
69
To install Pip, run `easy_install --user pip` from your command-line.
70
70
71
-
######2. Install a compiler
71
+
#### 2. Install a compiler
72
72
73
73
Download and install a compiler.
74
74
75
75
<spanclass="notes">**Note:** To download the latest toolchains, visit the [supported compilers page](../tools/index.html#compiler-versions).</span>
76
76
77
-
######3. Install Mbed CLI
77
+
#### 3. Install Mbed CLI
78
78
79
79
To install Mbed CLI, run `pip install mbed-cli --user` from your command-line.
80
80
81
81
You can ensure Mbed CLI installed correctly by running `mbed --version`.
82
82
83
83
<spanclass="notes">**Note:** You may also need to add the new Mbed CLI Python `--user` installation location (for example: `/Users/{username}/Library/Python/2.7/bin`) to the PATH.</span>
84
84
85
-
######4. Setup environment
85
+
#### 4. Setup environment
86
86
87
87
For any installed toolchain, be sure to add the Mbed CLI global configuration:
88
88
@@ -98,9 +98,9 @@ ARM_PATH=<path to ARM bin\>
98
98
99
99
<spanclass="notes">**Note:** You can also apply the same configuration to the IAR and GNU toolchains using `IAR_PATH` or `GCC_ARM_PATH`.</span>
100
100
101
-
###Linux
101
+
## Linux
102
102
103
-
#####1. Install Python and Pip
103
+
### 1. Install Python and Pip
104
104
105
105
Download and install [Python versions 2.7.11 or 3.6.5](https://www.python.org/downloads/source/) or later, or use your distribution's package manager to install Python and Pip.
106
106
@@ -110,19 +110,19 @@ As an example, you can use the following in Ubuntu:
110
110
$ sudo apt-get install python2.7 python-pip
111
111
```
112
112
113
-
#####2. Install a compiler
113
+
### 2. Install a compiler
114
114
115
115
Download and install a compiler:
116
116
117
117
<spanclass="notes">**Note:** To download the latest toolchains, visit the [supported compilers page](../tools/index.html#compiler-versions).</span>
118
118
119
-
#####3. Install Mbed CLI
119
+
### 3. Install Mbed CLI
120
120
121
121
To install Mbed CLI, run `pip install mbed-cli` from your command-line.
122
122
123
123
You can ensure Mbed CLI installed correctly by running `mbed help`.
124
124
125
-
#####4. Setup environment
125
+
### 4. Setup environment
126
126
127
127
For any installed toolchain, be sure to add the Mbed CLI global configuration:
128
128
@@ -138,9 +138,9 @@ ARM_PATH=<path to ARM bin\>
138
138
139
139
<spanclass="notes">**Note:** You can also apply the same configuration to the IAR and GNU toolchains using `IAR_PATH` or `GCC_ARM_PATH`.</span>
Invoke `mbed compile`, and specify the name of your platform and your installed toolchain (`GCC_ARM`, `ARM`, `IAR`). For example, for the K64F platform and Arm Compiler 5 toolchain:
0 commit comments