Files
pear-docs/guide/getting-started.md
David Mark Clements a9cc6e6b3d use gitbook hints
2023-12-11 15:58:53 +01:00

1.4 KiB

Getting Started with Pear

Requirements

Pear runs on Windows, Mac and Linux.

The pear CLI can be installed from npm, which comes with node.

The npm package manager can also be used to install application dependencies later on.

On MacOS and Linux, we recommend installing node using nvm

On Windows we recommend installing node with nvs.

{% hint style="info" %} The Pear Runtime does not rely on node, node is only needed to install and run the npm package manager. {% endhint %}

Setup

To install Pear run the following command:

npm i -g pear

To complete the setup, run the pear command.

pear

If a Pear application, such as Keet, is already installed then the Pear platform is already available. In this case, running pear should show help output.

If not, the first run of pear will fetch the platform from peers, after which running pear again should output help information.

To check that Pear is fully working, try the following command:

pear launch keet

Pear loads applications from peers, so this command should launch Keet whether or not it was downloaded and installed beforehand.

Next