Skip to content

Installation

Jeroen edited this page May 1, 2024 · 5 revisions

iOS

To utilize the CLI tool for managing iOS simulators effectively, it's essential to have Xcode installed on your system. Xcode, Apple's integrated development environment (IDE), provides the necessary components and dependencies required for simulating iOS devices seamlessly. It includes a suite of tools and resources that streamline the development process for iOS, macOS, watchOS, and tvOS applications. By having Xcode installed, users ensure that the CLI tool can access the required functionalities and resources, enabling efficient management of iOS simulators directly from the command line interface.

For streamlined management of Xcode installations and updates, it's recommended to use the xcodes package from Homebrew. This package simplifies the process of managing multiple Xcode versions and provides convenient commands for switching between them effortlessly. Installing xcodes via Homebrew ensures that you have access to the latest Xcode releases and updates, further enhancing your development workflow.

to install xcodes, use the following command:

brew install xcodes

Android

Before utilizing the CLI tool for managing Android emulators, ensure that you have Android Studio installed on your system. Additionally, you'll need to have the cmdline-tools package installed within Android Studio. To successfully interact with the Android emulator via the command line, it's crucial to configure the PATH environment variable to include the bin directory of the cmdline-tools package. You can achieve this by executing the following command:

export PATH=$PATH:$ANDROID_HOME/cmdline-tools/latest/bin

This command ensures that the necessary Android tools are accessible from any directory within your system. Once these prerequisites are met, you can seamlessly create, erase, delete, and start Android emulators using the CLI tool.

Clone this wiki locally