How to install fastlane in windows? i installed rubygems , but i dont know how to install fastlane on windows. please tell me how to install fastlane in windows?
Asked
Active
Viewed 1.1k times
4 Answers
46
- Install
ruby
on your windows machine. - Go to your command line and type
gem install fastlane -NV
. - You have fastlane on your windows machine ready.

Aryeetey Solomon Aryeetey
- 5,566
- 3
- 25
- 29
-
3Will it work for publishing android studio application? Have you tried it? – Mitul Varmora Feb 26 '19 at 09:30
-
3@AryeeteySolomonAryeetey, I am researching about fastlane for windows and saw this post of yours. I am trying to make fastlane work on my windows device but I don't actually know where and how to start. All I see are tutorials for macOS. I don't completely understand them and I was wondering if it would be worth my time to try harder if I want to learn Fastlane for my windows device? In short are the "steps" the same when working with Windows than in Mac? Thanks!! – Archie G. Quiñones Apr 04 '19 at 09:50
-
1I've successfully used it on windows as well. I had to run fastlane commands from MINGW64 terminal, because it relies on unix commands such as cat. – syonip May 11 '19 at 09:27
-
@LutaayaHuzaifahIdris If it works for you, please upvote :) – Aryeetey Solomon Aryeetey Apr 06 '20 at 14:45
-
it gives the following error: ERROR: Loading command: install (ArgumentError) unknown encoding name - CP720 ERROR: While executing gem ... (NoMethodError) undefined method `invoke_with_build_args' for nil:NilClass – Osahady May 13 '20 at 07:26
-
2To the author: This is the real solution! It works for me directly! Thanks you so much :) – Rebar Jun 25 '20 at 21:48
-
I am getting the following error on windows ERROR: Error installing fastlane: ERROR: Failed to build gem native extension. current directory: C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/unf_ext-0.0.8/ext/unf_ext C:/Ruby31-x64/bin/ruby.exe -I C:/Ruby31-x64/lib/ruby/3.1.0 -r ./siteconf20220218-15756-1a9ghh.rb extconf.rb Building has failed. See above output for more information on the failure. To see why this extension failed to compile, please check the mkmf.log which can be found here: C:/Ruby31-x64/lib/ruby/gems/3.1.0/extensions/x64-mingw-ucrt/3.1.0/unf_ext-0.0.8/mkmf.log – Nux Feb 18 '22 at 16:38
13
fastlane currently only runs on macOS and doesn't support Windows.
Update 2020: See answer below on how to get fastlane running on Windows.

KrauseFx
- 11,551
- 7
- 46
- 53
-
1
-
1
-
3You can achieve it by installing Ruby on your Windows machine. See my answer. – Aryeetey Solomon Aryeetey Jan 15 '19 at 16:36
-
1
6
As @AryeeteySolomonAryeetey states it is possible to run fastlane on Windows.
But we experienced a few more issue, before we were up and running:
- Needs a terminal in interactive mode
ridk
needs to be install - at least on some machines- Some fastlane commands does not work on Windows - you will have do some workarounds.
I have written a blogpost about the Automated Android deployment with Fastlane on Windows including a powershell setup script to do all the needed setup to be running Fastlane on Windows!

Morten Holmgaard
- 7,484
- 8
- 63
- 85
-
-
1@WellingtonYogui I have not tried that on the windows machine because we run that lane on our CI - but I think would work just as other fastlane actions works on windows. – Morten Holmgaard Jun 05 '20 at 11:25
-
-
@JebaPrince I am investigating that - the website has been rewritten but the blog was supposed to still be there. – Morten Holmgaard Jul 26 '20 at 10:18
-4
You can install via nodejs
npm install fastlane

Umesh Patadiya
- 710
- 10
- 33
-
but does it work? According to official site it still only runs on macOS – ArieKanarie May 28 '18 at 09:26
-
1I guess the initial question doesn't mention if they want to mean the fastlane tool for mobile apps, or the npm fastlane, which is not related to the mobile app tool – KrauseFx Nov 24 '18 at 22:36