Installing ROS on Windows (using WSL)¶
Applicable to: Those who have a Windows 10 or 11 personal machine.
Prerequisites¶
- Your computer must be running Windows 10 Build 19044 or higher, or Windows 11.
- Update the GPU drivers for your machine.
- Install or update WSL:
- If you don't already have WSL installed on your machine then follow these instructions to install it.
- If you do already have WSL installed on your machine, then follow these instructions to update it.
- Install the Windows Terminal.
- Install Visual Studio Code and the WSL extension.
Install and configure an Ubuntu 20.04 WSL distribution¶
-
Launch PowerShell and enter the following command to download and install an Ubuntu 20.04 distribution for WSL:
The installation might take a few minutes, but once complete the distribution should automatically be launched.
-
From within the new Ubuntu distribution, update and install a few important tools:
-
Update existing packages:
-
Install the latest version of Git:
-
Make sure a few additional packages are also installed:
-
Installing ROS¶
Having installed and configured your Ubuntu 20.04 instance, continue on to the next page and follow the steps for Installing ROS (and dependencies).