Skip to content

Commit c3f7014

Browse files
update readme.md: add pre-requirements for macOS
1 parent f341755 commit c3f7014

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,21 @@ git clone https://github.com/arduino/ArduinoCore-zephyr
125125
### Pre-requirements
126126
Before running the installation script, ensure that Python, `pip` and `venv` are installed on your system. The script will automatically install `west` and manage the necessary dependencies.
127127

128-
On Ubuntu or similar `apt`-based distros, make sure to run the following command:
128+
#### On Ubuntu or similar apt-based distros
129129
```bash
130130
sudo apt install python3-pip python3-setuptools python3-venv build-essential git cmake ninja-build zstd jq
131131
```
132+
#### On macOS
133+
Make sure you have Homebrew installed. Then run:
134+
135+
```bash
136+
# Install Xcode Command Line Tools (needed for compilers and make)
137+
xcode-select --install
138+
139+
# Install required tools and libraries
140+
brew install python cmake ninja zstd jq git
141+
```
142+
Note: Homebrew’s Python installation already includes `pip`, `setuptools` and `venv`.
132143

133144
### Run the ```bootstrap``` script
134145
```bash

0 commit comments

Comments
 (0)