Installing WPILib¶
WPILib is the core software suite for FRC. It installs a custom version of VSCode, Java compilers, and tools like AdvantageScope, Shuffleboard, and PathWeaver.
Do Not Use Standard VSCode!
WPILib installs a separate version of VS Code (e.g., 2026 WPILib VS Code). Do not use an existing installation of VSCode on your machine, and do not use the VSCode Settings Sync feature, as it will break your FRC environment.
1. Downloading the Installer¶
Go to the WPILib GitHub Releases Page and download the correct installer for your OS (it will be an .iso, .dmg, or .tar.gz).
2. Extracting & Running¶
- Right-click the
.isofile and select Mount.- If "Mount" isn't an option, use 7-Zip to "Extract to..."
- Run
WPILibInstaller.exe. - Click Start.
- Select Everything (Installs tools, Java, C++, and VSCode).
- Choose Install for all Users (requires Admin rights).
- Click Download for this computer only when prompted for VSCode.
- Double-click the downloaded
.dmgfile. - Double-click the WPILibInstaller application.
- If macOS warns you about it being from the internet, click Open.
- Select Everything and let the installer run.
- Drag the newly installed WPILib VS Code application to your dock.
- Eject the
.dmgfrom your desktop.
Ubuntu treats executables as shared libraries, so you must run it from the terminal:
Ubuntu 23.10+ Fix: Newer Ubuntu versions block sandboxed apps. To make VSCode run, install the AppArmor profiles:
3. C++ Simulation (Optional)¶
If your team programs in C++ and uses Physics Simulation, you need native compilers installed on your machine:
- Windows: Install Visual Studio 2022 (Check "Desktop Development with C++").
- macOS: Install Xcode 14+ from the App Store.
- Linux: Run
sudo apt install build-essential.