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.
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:
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:
Checksum: c9df80cea4e5c53047a7002ccf7ac3f7c9a60f1b1210a26410fa13ed798d8fd8 (SHA-256)
Direct Downloads
Pear can be installed manually via direct download onto system.
Checksum: b60949be508cbb29b0a105c05ddd346e947598545f53793c613c970e0c2e5613 (SHA-256)
Checksum: 4a605591c0352b06a1a334df5c36dd7141a8b52b5b995afaf4cc014de8709a17 (SHA-256)
Checksum: d5075c7c48c2d30839bab85ada84bd46682489f9fc23cbba4ae3027fe72180d2 (SHA-256)
Checksum: b365fb1f631521aeb2629335050e2b6de96c4bb5305e148222503a969ff3417d (SHA-256)
Checksum: 9ab49da0e4cf67d068b765ac1556478a2f4fb8df057cc8bf39dc8b5b0e4bb84b (SHA-256)
Checksum: 2b541bbc4e119dc458d66ec1aeb888ea426c0501493b2853c46a4bf12137d1e3 (SHA-256)
EXPORT PATH=~/.local/bin:$PATH to the relevant ~/.*rc file (~/.bashrc, ~/.zshrc, …)