fastlane depends on Ruby, so you need to install it on Windows, and then with it install fastlane. Follow these steps:
- Go to https://rubyinstaller.org/ and download the latest supported version (2.7.2 at the time this chapter is being written). Then, double-click on the file and follow the installation process, leaving the default options.
- Open Command Prompt and install fastlane with the following command:
gem install fastlane