Pear Docs

How To

Goal-oriented recipes for getting things done with Pear. Each guide solves one specific problem from start to finish.

How-tos are goal-oriented recipes. Each one assumes you already know roughly what you're doing and just need the steps for a particular task—deploying an app, setting up multisig releases, or troubleshooting common issues.

If you want to look up a CLI flag, an API, or a config field, that's Reference. For the conceptual "why," see About Pear.

This section covers what the pear CLI and pear-* modules do—building, staging, seeding, provisioning, and updating an app. For the peer-to-peer logic inside your app (connecting peers, replicating data, streaming media, managing identity), the guides are on the P2P tab—they apply whether or not your app happens to be a Pear app.

P2P is the peer-to-peer building blocks. Hypercore, Hyperswarm, Autobase, Hyperbee, Hyperdrive, HyperDHT, and Corestore—independent JavaScript modules for storage, discovery, and replication, with their own docs on the P2P tab. How the stack fits together maps the layers.

In this section

Releasing & distributing your app

CI / GitHub Actions

Build & package

Manual deployment

Multisig

Maintenance

On this page