Skip to content

Commit dfc0db2

Browse files
committed
Update instructions for SDK to reflect Python version compatibility
Signed-off-by: Joshua Jun <joshuajun@proton.me>
1 parent a35d3d9 commit dfc0db2

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

source/sdk/index.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,24 @@ Otherwise, if you are somewhat command-line knowledgeable, you can follow the in
3131

3232
#### MacOS
3333

34-
You'll need Python 3.10 or above, not the MacOS default installation of 3.9. To install a newer version of Python using [Homebrew](https://brew.sh/), run:
34+
You will need to install Node.js. The easiest way is with [Homebrew](https://brew.sh/):
3535

3636
```bash
37-
brew install python
37+
brew install node
3838
```
3939

40+
When you install the Pebble CLI below using `uv`, it will automatically download and use the correct Python version for you - no need to install it manually!
41+
4042
#### Ubuntu
4143

42-
You will need to install a few dependencies to make the SDK run.
44+
You will need to install a few dependencies to make the SDK run:
4345

4446
```bash
45-
sudo apt install python3-pip python3-venv nodejs npm libsdl1.2debian libfdt1
47+
sudo apt install nodejs npm libsdl1.2debian libfdt1
4648
```
4749

50+
When you install the Pebble CLI below using `uv`, it will automatically download and use the correct Python version for you - no need to install Python manually!
51+
4852
> Note: if you already have `node` installed, you can install only:
4953
5054
```bash
@@ -63,9 +67,11 @@ Install [uv](https://docs.astral.sh/uv/getting-started/installation/), a fast pa
6367
Then, run:
6468

6569
```bash
66-
uv tool install pebble-tool
70+
uv tool install pebble-tool --python 3.13
6771
```
6872

73+
> Note: pebble-tool requires Python 3.10, 3.11, 3.12, or 3.13 (higher than 3.9 and lower than 3.14).
74+
6975
## Next Steps
7076

7177
Now that you have the Pebble SDK downloaded and installed on your computer,

0 commit comments

Comments
 (0)