The Pebble SDK requires some dependencies. Run the command below that corresponds to your operating system.
brew install glib
brew install pixman
sudo apt install libsdl1.2debian libfdt1
The Pebble SDK does not natively support Windows, but you can use WSL. Once you've installed Ubuntu in WSL, run:
sudo apt install python3-pip python3-venv nodejs npm libsdl1.2debian libfdt1
Install uv, a fast package manager for Python.
Then, run:
uv tool install pebble-tool
The pebble
tool allows you to create, build, and install Pebble projects on your watch and an emulator.
Now that you have the Pebble SDK downloaded and installed on your computer, it is time to learn how to write your first app!
You should checkout the Tutorials for a step-by-step look at how to write a simple C Pebble application.
If you have any issues with downloading or installing the Pebble SDK, feel free to post your comments in #sdk-dev
in the
Rebble Discord. Please provide as many details as you can about the issues
you may have encountered.
Tip: Copying and pasting commands from your Terminal output will help a great deal.