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.

SemVer:
   
v3.0.1
VerLink:
  
pear://
0.22
.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:

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

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

Checksum: 713a7e1c643bad88fa3885e257b52573bd1d4c097254920a2b1391b2f84cf329  (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:

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

Checksum: d65c38347353eafd36c29cab834128b1a21e7be128e4c3013dac21cc20e46139  (SHA-256)

npm (macOS, Linux, Windows)

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

npx pear

Direct Downloads

Pear can be installed manually via direct download onto system.

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

Checksum: a07ec55e03dfaa6eedfa96633ab4072a823ae9b59aa90ce60c68213817c83200 (SHA-256)

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

Checksum: 7d7ac4ba8c89d41daa26b9ff2bfb44a72f95be60efc177163b8e99fd68bf6053 (SHA-256)

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

Checksum: 3e7e92c2581e6a911a425dca1b94b119e2b95df5b995a8682c30fea287868dc4 (SHA-256)

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

Checksum: 8de8349fe2912ecb2b76e1cb081e04519a0fe093612862b021478c7f4682b888 (SHA-256)

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

Checksum: 44e2ea5e6d71999403fceb84e36fc128d97b3be50cb33f7018c1844b35adb19a (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, …)