WPILib Installation Guide
This guide is intended for Java and C++ teams. LabVIEW teams can skip to Installing LabVIEW for FRC (LabVIEW only). Python teams can skip to Python Installation Guide. Additionally, the below tutorial shows Windows 11, but the steps are identical for all operating systems. Notes differentiating operating systems will be shown.
Prerequisites
- Supported Operating Systems and Architectures:
Windows 10 & 11, 64 bit only. 32 bit and Arm are not supported
Ubuntu 22.04 & 24.04, 64 bit. Other Linux distributions with glibc >= 2.34 may work, but are unsupported
macOS 13.3 or higher, both Intel and Arm.
Warning
The following OSes are no longer supported: macOS 12 or earlier, Ubuntu 18.04 & 20.04, Windows 7, Windows 8.1, and any 32-bit Windows.
Note
Windows 10 support from Microsoft will end in October 2025. We intend to continue supporting Windows 10 through the 2026 season, but may have to drop support in 2027. Teams should start planning their upgrade path to Windows 11.
WPILib is designed to install to different folders for different years, so that it is not necessary to uninstall a previous version before installing this year’s WPILib.
Downloading
WPILib Installer
Release Notes
This is the second beta release of WPILib for the 2025 season. Please join the discussions regarding beta testing at https://github.com/wpilibsuite/2025Beta/discussions.
This release requires the 2025_v1.0 roboRIO image to use on a robot.
Getting Started
Check out what's new for 2025 and jump directly to the WPILib installation guide.
If you're starting from a 2024 robot project, you will need to import it to create a 2025 project.
Full Changelog from Beta 1: https://github.com/wpilibsuite/allwpilib/compare/v2025.1.1-beta-1...v2025.1.1-beta-2
Updating from Beta 1
After installing Beta 2, projects made or imported with Beta 2 will use Gradle 8.11, which has much better error reporting for Java. Beta 1 projects won't be automatically updated to use Gradle 8.11. To manually update existing projects, open in the project directory gradle\wrapper\gradle-wrapper.properties
and change distributionUrl
to https\://services.gradle.org/distributions/gradle-8.11-bin.zip
Downloads
- Windows (2.2 GB)
- Mac (Arm) (2.0 GB)
- Mac (Intel) (2.1 GB)
- Linux (x64) (2.6 GB)
- Linux (arm64) (2.3 GB)
New Contributors
WPILib is developed by a small team of volunteers and the FIRST community. Thanks to the following new contributors since the last 2024 release for helping make WPILib better for all teams!
- @etiennebeaulac made their first contribution in https://github.com/wpilibsuite/allwpilib/pull/7220
- @Advay17 made their first contribution in https://github.com/wpilibsuite/allwpilib/pull/7327
- @viggy96 made their first contribution in https://github.com/wpilibsuite/allwpilib/pull/7358
MD5 Hashes
f20c2c4f9e917d7149ef81f39c434778 Linux/WPILib_Linux-2025.1.1-beta-2.tar.gz
e41bd8cc2420e26573a0ce1670bf59f8 LinuxArm64/WPILib_LinuxArm64-2025.1.1-beta-2.tar.gz
e8869bdf9d0da23cc13be8071f38be8c Win64/WPILib_Windows-2025.1.1-beta-2.iso
ca2653203c71cf4640c7a3cca35a1e21 macOS/WPILib_macOS-Intel-2025.1.1-beta-2.dmg
8f295ed3c04ba7227b2333634ae1e24a macOSArm/WPILib_macOS-Arm64-2025.1.1-beta-2.dmg
SHA256 Hashes
ad5c6169ff223f123cb4caf6dbe423b123f083f56bb16959578a2af974ebcf4f Linux/WPILib_Linux-2025.1.1-beta-2.tar.gz
995c151aaf43a7df4df90eb0245bb8c8af825412362eed0d77845d19d4de8d0a LinuxArm64/WPILib_LinuxArm64-2025.1.1-beta-2.tar.gz
82311039fe09157728ca5fa29d46412358db5c183ce3a1f2ca2d07c34eb52906 Win64/WPILib_Windows-2025.1.1-beta-2.iso
afefb82cf3b97d010995de4da5af5f564ee7bdceeb0f477f55e373df3318e926 macOS/WPILib_macOS-Intel-2025.1.1-beta-2.dmg
a921a565f837bf55333bd10b855f87a70631b2845f7cd5055333a1aa6963a2aa macOSArm/WPILib_macOS-Arm64-2025.1.1-beta-2.dmg
You can download the latest release of the installer from GitHub.
Once on the GitHub releases page, scroll to the Downloads section.
Then click on the correct binary for your OS and architecture to begin the download.
Extracting the Installer
When you download the WPILib installer, it is distributed as a disk image file .iso
for Windows, .tar.gz
for Linux, and distributed as a DMG
for MacOS.
Windows 10+ users can right click on the downloaded disk image and select Mount to open it. Then launch WPILibInstaller.exe
.
Note
Other installed programs may associate with iso files and the mount option may not appear. If that software does not give the option to mount or extract the iso file, then follow the directions below.
You can use 7-zip to extract the disk image by right-clicking, selecting 7-Zip and selecting Extract to…. Windows 11 users may need to select Show more options at the bottom of the context menu.
After opening the .iso
file, launch the installer by opening WPILibInstaller.exe
.
Note
After launching the installer, Windows may display a window titled “Windows protected your PC”. Click More info, then select Run anyway to run the installer.
macOS users can double click on the downloaded dmg
and then select WPILibInstaller
to launch the application.
If a warning is shown about WPILibInstaller being downloaded from the internet, select Open.
Linux users should extract the downloaded .tar.gz
and then launch WPILibInstaller
. Ubuntu treats executables in the file explorer as shared libraries, so double-clicking won’t run them. Run the following commands in a terminal instead with <version>
replaced with the version you’re installing.
$ tar -xf WPILib_Linux-<version>.tar.gz
$ cd WPILib_Linux-<version>/
$ ./WPILibInstaller
Running the Installer
Upon opening the installer, you’ll be presented with the below screen. Go ahead and press Start.
This showcases a list of options included with the WPILib installation.
Tools Only installs just the WPILib tools (Pathweaver, Shuffleboard, RobotBuilder, SysId, Glass, and OutlineViewer) and JDK.
Everything installs the full development environment (VS Code, extensions, all dependencies), WPILib tools, and JDK.
You will notice two buttons, Install for this User and Install for all Users. Install for this User only installs it on the current user account, and does not require administrator privileges. However, Install for all Users installs the tools for all system accounts and will require administrator access. Install for all Users is not an option for macOS and Linux.
Note
If you select Install for all Users, Windows will prompt for administrator access through UAC during installation.
Select the option that is appropriate for you, and you’ll presented with the following installation screen.
This next screen involves downloading VS Code. Unfortunately, due to licensing reasons, VS Code can not be bundled with the installer.
Download for this computer only
This downloads VS Code only for the current platform, which is also the smallest download.
Skip and don’t use VS Code
Skips installing VS Code. Useful for advanced installations or configurations. Generally not recommended.
Select existing VS Code archive for offline install on this computer
Selecting this option will bring up a prompt allowing you to select a pre-existing zip file of VS Code that has been downloaded by the installer previously. This option does not let you select an already installed copy of VS Code on your machine.
Create VS Code archives to share with other computers/OSes for offline install
This option downloads and saves a copy of VS Code for all platforms, which is useful for sharing the copy of the installer.
Go ahead and select Download for this computer only. This will begin the download process and can take a bit depending on internet connectivity (it’s ~150MB). Once the download is done, select Next. You should be presented with a screen that looks similar to the one below.
After installation is complete, you will be presented with the finished screen.
Important
WPILib installs a separate version of VS Code. It does not use an already existing installation. Each year has it’s own copy of the tools appended with the year. IE: WPILib VS Code 2025
. Please launch the WPILib VS Code and not a system installed copy!
Congratulations, the WPILib development environment and tooling is now installed on your computer! Press Finish to exit the installer.
Post-Installation
Some operating systems require some final action to complete installation.
After installation, the installer opens the WPILib VS Code folder. Drag the VS Code application to the dock. Eject WPILibInstaller image from the desktop.
Some versions of Linux (e.g. Ubuntu 22.04 and later) require you to give the desktop shortcut the ability to launch. Right click on the desktop icon and select Allow Launching.
Ubuntu 23.10 and later disable the kernel user namespaces feature for unknown applications. This means that the sandboxing feature won’t work on the WPILib VS Code. To enable sandboxing for the WPILib applications, AppArmor profiles are provided, and can be installed using the command below.
$ sudo cp ~/wpilib/YEAR/frccode/AppArmor/* /etc/apparmor.d/
$ sudo systemctl reload apparmor.service
Note
Installing desktop tools and rebooting will create a folder on the desktop called YYYY WPILib Tools
, where YYYY
is the current year. Desktop tool shortcuts are not available on Linux and macOS.
Additional C++ Installation for Simulation
C++ robot simulation requires that a native compiler to be installed. For Windows, this would be Visual Studio 2022 version 17.9 or later (not VS Code), macOS requires Xcode 14 or later, and Linux (Ubuntu) requires the build-essential
package.
Ensure the Desktop Development with C++ option is checked in the Visual Studio installer for simulation support.
What is Installed?
The Offline Installer installs the following components:
Visual Studio Code - The supported IDE for 2019 and later robot code development. The offline installer sets up a separate copy of VS Code for WPILib development, even if you already have VS Code on your machine. This is done because some of the settings that make the WPILib setup work may break existing workflows if you use VS Code for other projects.
C++ Compiler - The toolchains for building C++ code for the roboRIO
Gradle - The specific version of Gradle used for building/deploying C++ or Java robot code
Java JDK/JRE - A specific version of the Java JDK/JRE that is used to build Java robot code and to run any of the Java based Tools (Dashboards, etc.). This exists side by side with any existing JDK installs and does not overwrite the JAVA_HOME variable
WPILib Tools - SmartDashboard, Shuffleboard, RobotBuilder, OutlineViewer, PathWeaver, Glass, SysId, Data Log Tool, roboRIO Team Number Setter, AdvantageScope
WPILib Dependencies - OpenCV, etc.
VS Code Extensions - WPILib and Java/C++/Python extensions for robot code development in VS Code
Documentation - Offline copies of this frc-docs documentation and Java/C++/Python APIs
Uninstalling
WPILib is designed to install to different folders for different years, so that it is not necessary to uninstall a previous version before installing this year’s WPILib. However, the following instructions can be used to uninstall WPILib if desired.
Delete the appropriate wpilib folder (
c:\Users\Public\wpilib\YYYY
whereYYYY
is the year to uninstall)Delete the desktop icons at
C:\Users\Public\Public Desktop
Delete the appropriate wpilib folder (
~/wpilib/YYYY
whereYYYY
is the year to uninstall)
Delete the appropriate wpilib folder (
~/wpilib/YYYY
whereYYYY
is the year to uninstall). egrm -rf ~/wpilib/YYYY
Troubleshooting
In case the installer fails, please open an issue on the installer repository. A link is available here. The installer should give a message on the cause of the error, please include this in the description of your issue.