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: 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:
Checksum: d65c38347353eafd36c29cab834128b1a21e7be128e4c3013dac21cc20e46139 (SHA-256)
Direct Downloads
Pear can be installed manually via direct download onto system.
Checksum: a07ec55e03dfaa6eedfa96633ab4072a823ae9b59aa90ce60c68213817c83200 (SHA-256)
Checksum: 7d7ac4ba8c89d41daa26b9ff2bfb44a72f95be60efc177163b8e99fd68bf6053 (SHA-256)
Checksum: 3e7e92c2581e6a911a425dca1b94b119e2b95df5b995a8682c30fea287868dc4 (SHA-256)
Checksum: 8de8349fe2912ecb2b76e1cb081e04519a0fe093612862b021478c7f4682b888 (SHA-256)
Checksum: 44e2ea5e6d71999403fceb84e36fc128d97b3be50cb33f7018c1844b35adb19a (SHA-256)
EXPORT PATH=~/.local/bin:$PATH to the relevant ~/.*rc file (~/.bashrc, ~/.zshrc, …)