40 lines
1.5 KiB
Plaintext
40 lines
1.5 KiB
Plaintext
# CLI utility for CiviCRM: cv
|
|
# ---------------------------
|
|
|
|
# cv is distributed in PHAR format, which is a portable executable file (for PHP).
|
|
# It should run on most Unix-like systems where PHP is installed. Here are three
|
|
# quick ways to download it:
|
|
#
|
|
# Download the latest release of cv.phar (SHA256, GPG) and put it in the PATH. For example:
|
|
#
|
|
# sudo curl -LsS https://download.civicrm.org/cv/cv.phar -o /usr/local/bin/cv
|
|
# sudo chmod +x /usr/local/bin/cv
|
|
#
|
|
# (Learn more: Install cv.phar as system-wide tool (Linux/BSD/macOS))
|
|
#
|
|
# Or... add cv and other CiviCRM tools to a composer project (Drupal 9/10/11)
|
|
#
|
|
# composer require civicrm/cli-tools
|
|
#
|
|
# (Learn more: Install cv.phar as project tool (composer))
|
|
#
|
|
# Or... use phar.io's phive installer to download, validate, and cache the cv.phar file.
|
|
#
|
|
# phive install civicrm/cv
|
|
#
|
|
# (Learn more: Install cv.phar as project tool (phive))
|
|
#
|
|
#There are several more options for downloading cv. See also:
|
|
#
|
|
# Download URLs for alternate versions
|
|
# Comparison of install options
|
|
# Install cv as a system-wide/standalone tool
|
|
# Install cv.phar (binary) as system-wide tool (Linux/BSD/macOS)
|
|
# Install cv.git (source) as standalone project (Linux/BSD/macOS)
|
|
# Install cv.git (source) as standalone project (Windows)
|
|
# Install cv as a tool within another project
|
|
# Install cv.phar (binary) as project tool (composer)
|
|
# Install cv.phar (binary) as project tool (phive)
|
|
# Install cv.git (source) as project tool (composer)
|
|
#
|