Parra CLI Installation Guide

This guide explains how to install, update, and uninstall the Parra CLI on macOS. While the recommended installation method is via the Homebrew package manager, you may also choose to build it from source.

System Requirements

  • A Mac running macOS Sonoma 14 or later.
  • Xcode 15.3 or greater or later
  • An iOS 17.4 Simulator runtime environment or later

Installing via Homebrew

If you haven't installed Homebrew yet, follow the instructions on the Homebrew website to get started.

Installation Steps

  1. Update Homebrew: Ensure your Homebrew is up to date by running:
    brew update
    
  2. Install Parra CLI: Install the Parra CLI using the following command:
    brew install parra-inc/tap/parra-cli
    
  3. Verify Installation: Confirm that the Parra CLI is correctly installed by running:
    parra --version
    

Installing Updates

  1. Update Homebrew: First, make sure your Homebrew formulae are current:
    brew update
    
  2. Upgrade Parra CLI: To update the Parra CLI to the latest version, run:
    brew upgrade parra-cli
    

Uninstalling

  1. Uninstall the CLI: Remove the Parra CLI by executing:

    brew uninstall parra-cli
    
  2. Remove the Tap: If you no longer need the Parra tap, remove it with:

    brew untap parra-inc/tap
    

Building from Source

For those who prefer to build the Parra CLI from source, follow the development instructions provided in the Parra Mobile SDKs repository.

Dependencies

The Parra CLI is designed to encapsulate as much functionality as possible within a standalone binary, minimizing the need for external dependencies. However, in a few instances, dependencies are necessary. When using the CLI, you may be prompted to install the following Homebrew formulae if they aren't already available on your system.

  • xcodes: Used to automate the installation of Xcode and iOS runtimes.
  • aria2: To reduce the time it takes to download Xcode and iOS runtimes.

Was this page helpful?