Skip to content

About

Click the link below for further instructions. This repo is just for installing the necessary tools and toolchains.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Setting up RPL dev environment

Windows Instructions

Step 1 (if you don't already have it): Install Git

Either install Git via the website or run the command below in PowerShell:

winget install --id Git.Git --exact

Step 2: Install MSYS2

Run the command below:

winget install --id MSYS2.MSYS2 --exact

Step 3: Run Windows Setup Script in MSYS2 UCRT64

Open MSYS2 UCRT64 (search for this in the Start menu) and update everything by running pacman -Syu. If prompted to close the terminal, reopen MSYS2 UCRT64 and rerun pacman -Syu until everything is updated. After that, run the command below:

curl -fsSL https://raw.githubusercontent.com/Rutgers-RPL/setup-script/refs/heads/main/setup-windows.sh | bash

Step 4: Add MSYS2 UCRT64 bin to user Path:

Either manually add "C:\msys64\ucrt64\bin" to your user Path, or run the command below in PowerShell once:

[Environment]::SetEnvironmentVariable('Path', [Environment]::GetEnvironmentVariable('Path', 'User') + ';C:\msys64\ucrt64\bin', 'User')

Restart any open terminals and VSCode so that they use the updated Path.

Linux/WSL Instructions

Step 1 (if not running Linux already): Installing WSL

This page from windows covers everything you need to do to install WSL. If you care to select which distro, you can read how to do it there. If you don't care, just open cmd as admin and run

wsl --install

and then restart your computer. Now that you have WSL installed, open up cmd again, and type WSL. This will open your default distro. After that, it will prompt you to make a username and password. Make sure you remember this password. Note that the ubuntu it installs might not actually be recent enough, if so that's fine. Just go back to powershell, run wsl --unregister Ubuntu, then type wsl --list --online to see all the options. For a tested and working option, just pick Ubuntu-26.04, but you're free to go for a different option.

Step 2: Installing tools

First update everything by running sudo apt-get update, then sudo apt-get upgrade. Then run

curl -fsSL https://raw.githubusercontent.com/Rutgers-RPL/setup-script/refs/heads/main/setup.sh | bash

This will install CMake, Ninja, gcc-arm-none-eabi, and a few other tools you will need.

About

Click the link below for further instructions. This repo is just for installing the necessary tools and toolchains.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages