Overview
This post covers how to install fastlane on macOS.
Steps
1. Install Xcode Command Line Tools
xcode-select --install
- If already installed, proceed to the next step.
2. Method 1: Managed Ruby Environment + Bundler (macOS/Linux/Windows)
2.1. Check Ruby Version
ruby --version
- fastlane supports Ruby versions 2.5 or newer. (As of October 16, 2021)
2.2. Install Bundler
gem install bundler
2.3. Install via Homebrew
brew install fastlane
3. Method 2: System Ruby + RubyGems (macOS/Linux/Windows)
3.1. Install via RubyGems
sudo gem install fastlane
- This installation method using System Ruby is not recommended on macOS.
4. Verify Installation
fastlane -v
Leave a comment