Install Pear CLI

Pear CLI is a peer-to-peer application deployment and installation tool.

Pear CLI is a single binary file that can be installed to machine via command line with curl, irm or npx or with direct download to a system path.

Image
SemVer:
   
v3.7.0
VerLink:
  
pear://
0.92
.smw4thqaqed9iq6bae7a9cxd4fesruixgkafe38jny33ahs33igy

Quick Install

Install Pear CLI directly from install.pears.com with an OS-native one-line install command, or alternatively via package manager.

macOS and Linux

Use the install script to save the pear binary to ~/.local/bin/pear adjusting PATH if necessary via local *rc file modification.

Either download and execute the script manually, or use the following one-line command:

Image
curl https://install.pears.com/pear.sh | sh
Image

After install, open a new terminal or run source to reload the shell and ensure the pear command is available.

Checksum: ed76378234b1651aca9f269623e6175c4be9c63044b12e983e664faa5083460d  (SHA-256)

Windows, Powershell

Use the install script to fetch the pear.exe binary. The script installs it to %LOCALAPPDATA%/Programs/pear/pear.exe.

Either download and execute the script manually, or use the following one-line command:

Image
irm https://install.pears.com/pear.ps1 | iex
Image

Checksum: c9df80cea4e5c53047a7002ccf7ac3f7c9a60f1b1210a26410fa13ed798d8fd8  (SHA-256)

npm (macOS, Linux, Windows)

Pear can be installed using npx if Node.js+npm are on the system:

Image
npx pear
Image

Direct Downloads

Pear can be installed manually via direct download onto system.

Windows (x64)
- save to %LOCALAPPDATA%/Programs/pear/pear.exe

Checksum: b60949be508cbb29b0a105c05ddd346e947598545f53793c613c970e0c2e5613 (SHA-256)

macOS (Apple Silicon)
- save to ~/.local/bin/pear

Checksum: 4a605591c0352b06a1a334df5c36dd7141a8b52b5b995afaf4cc014de8709a17 (SHA-256)

macOS (Intel)
- save to ~/.local/bin/pear

Checksum: d5075c7c48c2d30839bab85ada84bd46682489f9fc23cbba4ae3027fe72180d2 (SHA-256)

Linux (x64)
- save to ~/.local/bin/pear

Checksum: b365fb1f631521aeb2629335050e2b6de96c4bb5305e148222503a969ff3417d (SHA-256)

Linux (ARM64)
- save to ~/.local/bin/pear

Checksum: 9ab49da0e4cf67d068b765ac1556478a2f4fb8df057cc8bf39dc8b5b0e4bb84b (SHA-256)

Windows (ARM64)
- save to %LOCALAPPDATA%/Programs/pear/pear.exe

Checksum: 2b541bbc4e119dc458d66ec1aeb888ea426c0501493b2853c46a4bf12137d1e3 (SHA-256)

macOS and Linux may need system PATH adjustment if ~/.local/bin isn’t in PATH, add
EXPORT PATH=~/.local/bin:$PATH
to the relevant ~/.*rc file (~/.bashrc, ~/.zshrc, …)