Parra CLI Quick Start Guide
The Parra CLI is a command-line tool for macOS, written in Rust, designed to bootstrap your new mobile app project as quickly as possible so you can start writing code. It is the easiest way to get started with a new project in the Parra ecosystem.
Overview
This guide provides a high-level summary of how to install the Parra CLI and use it to create a new Xcode project for an app that has already been configured in the Parra dashboard. If you've already started your app and want to integrate Parra, refer to the integration guide. If you haven't created a Parra account yet, start with our setup guide.
Installation
The easiest way to install the Parra CLI is via Homebrew. For more details, see the installation doc.
brew install parra-inc/tap/parra-cli
Bootstrapping a New Project
When you're ready to start your new project, use the bootstrap
command to generate a starter project for your app.
parra bootstrap
Running this command will do the following:
- Prompt you to open a link in your browser to authenticate with Parra.
- Guide you through selecting an existing Parra application in the dashboard or creating a new one.
- Install any missing dependencies.
- Generate a pre-configured Xcode project so you can start writing code immediately.
And that's it!