Pear Docs

Getting started

Install the pear CLI, then ship an app you already have—stage, seed, and release it over the air.

This page gets the pear CLI onto your machine and points you at how to stage, seed, and release an app you already have. Don't have an app yet? Build one on P2P—a type-along tutorial that builds a peer-to-peer chat app from scratch, then reshapes it into the production hello-pear-electron scaffold this page's release steps assume.

Install Pear

Get the pear CLI from install.pears.com:

curl https://install.pears.com/pear.sh | sh
irm https://install.pears.com/pear.ps1 | iex
npx pear
docker run -it --rm tetherto/pear

Follow the PATH instructions the installer prints, then run pear directly. See Install & upgrade for the npm-global alternative and upgrade details. The tetherto/pear image runs Pear inside Ubuntu with pear and pear-install ready to go—handy for trying the CLI without installing anything locally.

New to the CLI? Run pear --menu (Pear 3.2.0+) to browse every command from a filterable list and fill in its flags as a form, instead of memorizing them. See Browse commands with the interactive menu.

Already have a built app? Ship it

The deep, step-by-step guides for every part of the release pipeline already exist as how-tos—this section signposts into them rather than repeating them:

For the concepts behind that flow—what staging, provisioning, and multisig actually do and why—see Release pipeline.

Where to go next

On this page