

The first step is to install dependencies for compiling Ruby. Installing RubyĬhoose the version of Ruby you want to install: You'll use this to run your Rails server and other processes for development. You can search for "Ubuntu" in the Windows Start Menu anytime to open the Ubuntu terminal.Ĭongrats! You now have Ubuntu installed on Windows with WSL. Once initial setup is finished, you will be prompted to create a username and password for your Ubuntu install. Reboot your computer to finish the installation. Open Powershell and run: wsl -install -d Ubuntu You must be running Windows 10 version 2004 and higher (Build 19041 and higher) or Windows 11. We'll use this to install Ruby and run our Rails apps. Windows allows you to run various Linux operating systems inside of Windows similar to a virtual machine, but natively implemented.

Installing the Windows Subsystem for Linux Ruby on Rails will always be deployed to a Linux server, so it's best for us to use the same for development. This allows you to install a Linux distribution natively on Windows without a virtual machine. We're going to use the Windows Subsystem for Linux (WSL) to accomplish this. In this guide, we will be installing Ruby on Rails on Windows 10.
