The pebble
tool allows you to quickly switch between different SDK versions.
The instructions to obtain the tool vary depending on your platform. All
specific instructions are shown on this page.
The Pebble SDK can be installed automatically using Homebrew, or manually if
preferred. If you already use at least version 4.0 of the pebble
tool, you can
install the latest SDK by running the following command:
$ pebble sdk install latest
If you previously used Homebrew to install older Pebble SDKs, run:
$ brew update && brew upgrade pebble-sdk
If you've never used Homebrew to install the Pebble SDK, run:
$ brew update && brew install pebble/pebble-sdk/pebble-sdk
If you would prefer to not use Homebrew and would like to manually install the Pebble SDK:
Download the SDK package.
Follow the Mac manual installation instructions.
Linux users should install the SDK manually using the instructions below:
Download the relevant package: Linux (32-bit) | Linux (64-bit).
Install the SDK by following the manual installation instructions.
Installing the Pebble SDK on Windows is not officially supported at this time. However, you can choose from alternative strategies to develop watchfaces and watchapps on Windows, which are detailed below.
CloudPebble is the official online development environment for writing Pebble apps. It allows you to create, edit, build and distribute applications in your web browser without installing anything on your computer.
Pebble strongly recommends CloudPebble for Windows users.
You can also download and run the Pebble SDK in a virtual machine.
Beta SDKs are released in the run up to stable SDK releases, and give interested developers a chance to test out new features and APIs and provide feedback.
You can opt-in to the beta channel to receive beta SDKs. Once the beta period ends, you will be notified of the update to the final stable version.
IMPORTANT
Apps built with a beta SDK must not be uploaded to the developer portal, as users not yet on the new firmware version will be unable to install them.
Once you have the latest pebble
tool, you can easily access and try out new
beta SDKs we release from time to time by switching to the 'beta' sdk channel:
$ pebble sdk set-channel beta
Install the latest beta SDK:
$ pebble sdk install latest