Skip to main content

Install WSL on Windows

Versatus LASR requires Windows Subsystem for Linux (WSL) to function properly on Windows OS. Follow this guide to install WSL and set it up for use with LASR.

Step 1: Install WSL

You can either install WSL on windows through command line in PowerShell, or Windows Store:

Installing WSL via Windows Store requires the following steps:

  1. Access the Windows Store.
  2. Click Download. The WSL with the Ubuntu OS will be installed into your machine.

Step 2: Verify the Installation

To verify if your WSL is correctly installed, do the following:

  1. Open PowerShell.
  2. Execute the command below:
wsl --list --verbose

This will present a list of installed distributions, with Ubuntu listed and running.

Step 3: Set Up Ubuntu

With your Ubuntu installed:

  1. Open your Ubuntu distribution from the Start menu.
  2. You'll be prompted to create a user account and password for Ubuntu. Follow the on-screen instructions to complete the setup.

The gif below showcases the WSL installation process:

Step 4: Update Ubuntu

  1. Once you have set up Ubuntu, it's important to update it. Open the Ubuntu terminal and run the following commands:
sudo apt update && sudo apt upgrade -y

Step 5: Install Node.js and npm

Now, with your Ubuntu updated, you need to install Node V18 or newer, as required by Versatus LASR. Run the following comands to install the required packages:

sudo apt install -y nodejs npm

Remember to check if your node version is higher than 18. To see what version you currently have installed, run:

node -v

Your terminal will return something similar to the following:

you@laptop:~/versatus$ node -v
v20.12.2
warning

If the version is lower than 18, you need to update Node.

Creating your First Program with LASR

With all steps completed, you're ready to continue your journey. Start by creating a Hello LASR program by following the Creating your First Program guide.

Additional Resources

Access the following links to learn more about WSL: