Here's a list of commands available to the pear command line tool. Many of these commands may require root access to the server.
| Command | Description |
|---|---|
| build | Build the extension from source |
| bundle | Download and unpack a PECL extension |
| channel-add | Add a Channel (PEAR 1.4+) |
| channel-alias | Specify an alias to a channel name (PEAR 1.4+) |
| channel-delete | Remove a channel from the list (PEAR 1.4+) |
| channel-discover | Initialize a channel from its server name (PEAR 1.4+) |
| channel-info | Retrieve information on a channel (PEAR 1.4+) |
| channel-login | Connects and authenticates to remote channel server ( PEAR 1.8+) |
| channel-logout | Logs out from the remote channel server ( PEAR 1.8+) |
| channel-update | Update an existing channel (PEAR 1.4+) |
| clear-cache | Clear the REST/XML-RPC cache |
| config-create | Create a default configuration file (PEAR 1.4+) |
| config-get | Echo a specific configuration setting |
| config-help | Show information about a setting |
| config-set | Set a specific configuration setting value |
| config-show | Show all configuration setting values |
| convert | Convert a package.xml 1.0 format to package.xml 2.0 format (PEAR 1.4+) |
| cvsdiff | Execute and display a "cvs diff -u" on
all files within the package |
| cvstag | Set CVS Release Tag |
| download | Download a package but not install it |
| download-all | Downloads every available package |
| info | Display information about a package |
| install | Install a package, will report with success or failure |
| list | List installed packages |
| list-all | List all packages, packaged and/or available |
| list-channels | List available channels (PEAR 1.4+) |
| list-files | List files in an installed package (PEAR 1.4+) |
| list-upgrades | List available upgrades for the installed packages |
| login | Connects and authenticates to remote server [Deprecated in favor of channel-login] |
| logout | Logs out from the remote server [Deprecated in favor of channel-logout] |
| makerpm | Builds a RPM spec file from a PEAR package |
| package | Build a package |
| package-dependencies | Show package dependencies |
| package-validate | Validate package consistency |
| pickle | Build PECL Package |
| remote-info | Information about remote packages |
| remote-list | List remote packages |
| run-scripts | Run post-install scripts bundled with a package (PEAR 1.4+) |
| run-tests | Run regression tests |
| search | Search the remote package database |
| shell-test | Do a shell script test |
| sign | Sign a package distribution file |
| svntag | Set a SVN release tag |
| uninstall | Uninstall and remove a package |
| update-channels | Update the channel list (PEAR 1.4+) |
| upgrade | Upgrade a package to the current version (see also: preferred_state) |
| upgrade-all | Upgrade all packages (see also: list-upgrades) |