Skip to main content

iOS - CLI

The q2-mobile-cli is a command-line interface designed to streamline the creation of modules and integration with the Q2 DevApp. Follow the steps below to set up the CLI on your system.


📦 Step 1: Clone the Repository

Clone the q2-mobile-cli from code.q2developer.com gitLab repository using the command below on your macOS terminal.

  • Open your terminal, change directory to directory where you want to clone the repo and supply following command:
git clone https://code.q2developer.com/Q2Antilles/native/ios/q2-mobile-cli.git

📁 Step 2: Navigate to the Project Directory

Change into the cloned project directory:

cd q2-mobile-cli

⚙️ Step 3: Install the CLI

Run the installation script with elevated permissions to set up the CLI:

sudo sh install.sh

✅ Step 4: Verify Installation

Ensure that the installation was successful by running following command on terminal:

q2-mobile-cli

If installed correctly, you should see the CLI help menu.

note

The q2-mobile-cli is an essential tool for managing and creating key Mobile SDK modules and seamlessly integrating with the Q2 DevApp environment. :::