- Press the Windows key
- Type
Update
- Click
Check for updates
- Install any updates (avoid windows 11 upgrades for now)
- Press the Windows key
- Type
PowerShell
- Right-click on
Windows PowerShell
and chooseRun as administrator
In PowerShell window copy and paste this command to allow Rails Academy to install:
Set-ExecutionPolicy Unrestricted
Then copy and paste this command to install Rails Academy:
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/justintanner/rails-academy/stable/win/install.ps1'))
After restarting Ubuntu and Docker should open automatically.
Important:: Let Ubuntu finish installing first, then continue with the Docker setup.
You should now see a "Docker" icon on your Desktop, please click it, then:
- Click the gear icon in the top right and choose
Settings
- Click
General
and checkStart Docker Desktop when you log in
- Press the Windows key
- Type
Alacritty
- Paste in the following to complete the install
wget -qO- https://rails.academy/install | bash
Your Windows PC is ready for Rails development! 🚀