Guide d’installation WPILib

This guide will walk you through installing the WPILib development environment on your computer. This includes the WPILib tools, Visual Studio Code, and all dependencies needed to develop and deploy code to the Systemcore. WPILib Installation is required for Java and C++ teams. Python teams can do a full install per these instructions to get a Visual Studio Code environment with some python extensions, or do a tools only installation to install dashboards such as AdvantageScope and Elastic. Python teams additionally need to follow the Guide d’installation de Python.

Prérequis

Système d’exploitation et Architectures supportés:
  • Windows 11, 64 bit only. Arm-based Windows 11 is unsupported.

  • Debian 13 “Trixie”, 64 bit only.

  • Ubuntu 26.04, 64 bit only.

  • macOS 15 or higher, both Intel and Arm.

Note

Linux distributions other than those mentioned above that contain glibc >= 2.41 may work, but are unsupported.

Avertissement

Windows 10 support from Microsoft ended in October 2025. While we will not explicitly block Windows 10 from being used, future releases may inadvertently break compatibility with Windows 10. We will not postpone these changes in order to maintain Windows 10 compatibility, and Windows 10 support may break as a result.

Note

C++ compilation is memory intensive. A minimum of 32 GB of RAM is recommended for C++ teams.

This tutorial shows Windows 11, but the steps are identical for all operating systems. Notes differentiating operating systems will be shown.

WPILib est conçu pour s’installer dans différents dossiers correspondant à différentes années, de sorte qu’il n’est pas nécessaire de désinstaller une version précédente avant d’installer la version WPILib de l’année en cours.

Téléchargement

Installeur WPILib

WPILib 2025.3.2 Release - March 18, 2025

Téléchargements

Downloads for other platforms

Notes de mise à jour

This is an update release of WPILib for the 2025 season. This release fixes an issue with rebooting robot code causing periodic CPU spikes that could cause loop overruns, upgrades Elastic to 2025.2.0 (fixes several camera viewer issues) and AdvantageScope to 4.1.5, and has a number of other quality of life improvements and fixes. This upgrade is recommended for all teams.

Upgrading from earlier 2025 releases is easy: simply download and run the new installer and it will update your current installation. If you already have the 2025 WPILib vscode installed, it will detect it and you can simply click "next" for that installation step. After installation, vscode will prompt you when opening your robot project whether you want to upgrade it to this version. Note that using the installer is required to get the new version of desktop tools such as Elastic and AdvantageScope. This release is compatible with the kickoff release of the RoboRIO image, so there is no need to upgrade the RIO image if you have already done so for 2025.

The documentation for WPILib is located at https://docs.wpilib.org/ (if you have trouble accessing this location, https://frcdocs.wpi.edu/en/stable/ is an alternate location with the same content).

If you're new to FRC, start with Getting Started.

System Requirements: WPILib requires 64-bit Windows 10 or 11 (Arm and 32-bit are not supported), Ubuntu 22.04 or 24.04, or macOS 13.3 or higher. C++ teams should note that the latest version of Visual Studio 2022 is required for desktop builds. Mac users will need to have the Xcode Command Line Tools installed before running the installer. This can be done by running xcode-select --install in the Terminal.

If you're returning from a previous season, check out what's new for 2025. You will need a new RoboRIO image for 2025; this is available via the FRC 2025 Game Tools. Follow the WPILib installation guide to install WPILib.

If you're starting from a 2024 robot project, you will need to import your project to create a 2025 project. The import process is important, as it will make a few automated corrections for some breaking changes that happened in 2025. It is also necessary to import vendor libraries again, since last year’s vendor libraries must be updated to be compatible with this year’s projects.

A complete list of known issues with this release can be found here.

WPILib is developed by a small team of volunteers and the FIRST community.

Downloads

What's Changed since 2025.3.1

GradleRIO

  • Disable code reboot while killing robot process by @ThadHouse in https://github.com/wpilibsuite/GradleRIO/pull/778

Elastic

  • Upgraded to 2025.2.0 (see https://github.com/Gold872/elastic-dashboard/releases/tag/v2025.2.0)

AdvantageScope

  • Upgraded to 4.1.5 (see https://github.com/Mechanical-Advantage/AdvantageScope/releases/tag/v4.1.5)

Math

  • Make LinearSystemSim setState() update output by @HarryXChen3 in https://github.com/wpilibsuite/allwpilib/pull/7799
  • Fix another infinite loop in ArmFeedforward by @calcmogul in https://github.com/wpilibsuite/allwpilib/pull/7823
  • Add Translation2d/Translation3d slew rate limiter by @OhmV-IR in https://github.com/wpilibsuite/allwpilib/pull/7806
  • Fix feedforward returning NaN when kᵥ = 0 by @calcmogul in https://github.com/wpilibsuite/allwpilib/pull/7790
  • Add Debouncer type and time setters by @crueter in https://github.com/wpilibsuite/allwpilib/pull/7839
  • Fix singularities in Ellipse2d::Nearest() by @calcmogul in https://github.com/wpilibsuite/allwpilib/pull/7851
  • Fix UnscentedKalmanFilter and improve math docs by @PascalSkylake in https://github.com/wpilibsuite/allwpilib/pull/7850

Epilogue

  • Make nonloggable type warnings configurable by @SamCarlberg in https://github.com/wpilibsuite/allwpilib/pull/7792

Glass

  • Update default field to 2025 for Field2D by @rmheuer in https://github.com/wpilibsuite/allwpilib/pull/7820

SysId

  • Remove extra period from exception messages by @calcmogul in https://github.com/wpilibsuite/allwpilib/pull/7805
  • Refactor feedback analysis by @calcmogul in https://github.com/wpilibsuite/allwpilib/pull/7827

New Contributors

  • @OhmV-IR made their first contribution in https://github.com/wpilibsuite/allwpilib/pull/7806
  • @arbessette made their first contribution in https://github.com/wpilibsuite/allwpilib/pull/7833
  • @crueter made their first contribution in https://github.com/wpilibsuite/allwpilib/pull/7839
  • @PascalSkylake made their first contribution in https://github.com/wpilibsuite/allwpilib/pull/7850

Full Changelog: https://github.com/wpilibsuite/allwpilib/compare/v2025.3.1...v2025.3.2

MD5 Hashes

a5bee197b217509a3c1fb9098c72fb74 Linux/WPILib_Linux-2025.3.2.tar.gz
1ce99b1258f91ced62b379c990e412b9 LinuxArm64/WPILib_LinuxArm64-2025.3.2.tar.gz
bb749ad10e857b904c5fb7780718a778 Win64/WPILib_Windows-2025.3.2.iso
47b75a1e81fdc4caaff969f5bbc873ae macOS/WPILib_macOS-Intel-2025.3.2.dmg
2c1b322e1fcd4b923abf10a819ea19b6 macOSArm/WPILib_macOS-Arm64-2025.3.2.dmg

SHA256 Hashes

7f5021590497d0fdb25f49e4761593ebb5bcf04e253ca3093a46f8d04d3394c1 Linux/WPILib_Linux-2025.3.2.tar.gz
196a6de4ea314bce5670862bdb5a33005cee0ea46e16f0d9149ee498314bd3a7 LinuxArm64/WPILib_LinuxArm64-2025.3.2.tar.gz
fe101018720dc158b72f8542beb1b44af9996235245b37f98acd8851b375d53c Win64/WPILib_Windows-2025.3.2.iso
bef1d56ba5cddbda7dc56c62932ff58e7460129a85e3e2ff3dcac5d9e01a3ff3 macOS/WPILib_macOS-Intel-2025.3.2.dmg
5d957d12fa3c90ead5d3f6ddb33f951ed75990c1b2db1941f2c0433ffd3a53e3 macOSArm/WPILib_macOS-Arm64-2025.3.2.dmg

You can download the latest release of the installer from GitHub.

Une fois sur la page des versions de GitHub, faites défiler jusqu’à la section des téléchargements.

Page de la plus récente version de WPILib sur GitHub

Cliquez ensuite sur le fichier binaire correspondant à votre système d’exploitation et à votre architecture pour commencer le téléchargement.

Extraction de l’installateur

Lorsque vous téléchargez l’installateur WPILib, celui-ci est distribué sous la forme d’un fichier d’image de disque .iso pour Windows, .tar.gz pour Linux, et distribué sous la forme de DMG pour MacOS.

Windows 11 users can right click on the downloaded disk image and select Mount to open it. Then launch WPILibInstaller.exe.

Le menu après un clic droit sur un fichier .iso pour choisir "Mount".

Note

D’autres programmes installés peuvent s’associer à des fichiers iso et l’option mount peut ne pas apparaître. Si ce logiciel n’offre pas la possibilité de monter ou d’extraire le fichier iso, dans cas, suivez les instructions ci-dessous.

You can use 7-zip to extract the disk image by right-clicking, selecting Show more options at the bottom of the context menu, selecting 7-Zip and selecting Extract to….

Après avoir cliqué sur le bouton droit de la souris sur le fichier .iso allez dans "7-Zip" puis "Extract to....".

Après avoir ouvert le fichier .iso, lancez l’installeur en ouvrant WPILibInstaller.exe.

Note

Après avoir lancé l’installeur, Windows peut montrer une fenêtre intitulée « Windows a protégé votre PC ». Cliquez sur More info, puis sélectionnez Run anyway pour exécuter l’installeur.

Note

Ensure you’ve ejected any previous WPILibInstaller images from the desktop before starting installation

macOS users can double click on the downloaded dmg and then select WPILibInstaller to launch the application.

Show the macOS screen after double clicking the .dmg file.

If a warning is shown about WPILibInstaller being downloaded from the internet, select Open.

Warning about WPILibInstaller being downloaded from the internet

Les utilisateurs de Linux devraient extraire le .tar.gz téléchargé, puis lancer WPILibInstaller. Ubuntu traite les fichiers exécutables dans l’explorateur de fichiers comme des libairies partagées, de sorte qu’en les double-cliquant, on ne les exécutera pas. À la place, exécutez les commandes suivantes dans un terminal avec <version> remplacé par la version que vous êtes en train d’installer.

$ tar -xf WPILib_Linux-<version>.tar.gz
$ cd WPILib_Linux-<version>/
$ ./WPILibInstaller

Exécution de l’installateur

Lors de l’ouverture de l’installateur, l’écran ci-dessous vous sera présenté. Procédez et appuyez sur Start.

Démarrage du programme d’installationSurvol des options d’installation

Cela présente une liste d’options incluses avec l’installation de WPILib.

Vous remarquerez deux boutons, Install for this User et Install for all Users. Install for this User ne l’installe que sur le compte utilisateur actuel et ne nécessite pas de privilèges d’administrateur. Cependant, Install for all Users installe les outils pour tous les comptes système et nécessitera un accès administrateur. Install for all Users n’est pas une option pour macOS et Linux.

Note

Si vous sélectionnez Install for all Users, Windows vous demandera un accès administrateur via le contrôle de compte d’utilisateur pendant l’installation.

Sélectionnez l’option qui vous convient et l’écran d’installation suivant vous sera présenté.

Cet écran suivant concerne le téléchargement de VS Code. Malheureusement, pour des raisons de licence, VS Code ne peut pas être intégré dans l’installateur.

Vue d’ensemble des options de téléchargement de VS Code
  • Télécharger pour cet ordinateur uniquement

    • Cette option télécharge VS Code uniquement pour la plate-forme actuelle, ce qui correspond également au plus petit téléchargement.

  • Ignorer et ne pas utiliser VS Code

    • Ignore l’installation de VS Code. Cette option est utile pour les installations ou les configurations avancées. Généralement pas recommandé.

  • Sélectionnez l’archive VS Code existante pour une installation hors connexion sur cet ordinateur

    • La sélection de cette option fera apparaître une invitation vous permettant de sélectionner un fichier zip préexistant de VS Code qui a été téléchargé précédemment par le programme d’installation. Cette option ne vous permet pas de sélectionner une copie déjà installée de VS Code sur votre machine.

  • Créer les archives VS Code à partager avec les autres ordinateurs/systèmes d’exploitation pour une installation hors-ligne

    • This option downloads and saves a copy of VS Code for all platforms, which is useful for sharing with the installer for future offline installs.

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 ~300MB). Once the download is done, select Next. You should be presented with a screen that looks similar to the one below.

Note

teams upgrading from Beta will already have a version of VS Code installed. However, it’s still recommended to select Download for this computer only to ensure the latest recommended version of VS Code is installed

Barre de progression du programme d’installation

Une fois l’installation terminée, l’écran de fin d’installation vous sera présenté.

Écran de fin d'activité de l'installeur.

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 2026. Please launch the WPILib VS Code and not a system installed copy!

Félicitations, l’environnement de développement et les outils WPILib sont maintenant installés sur votre ordinateur! Appuyez sur Terminer pour quitter le programme d’installation.

Après l’installation

Certains systèmes d’exploitation nécessitent une dernière action pour terminer l’installation.

Après l’installation, l’installateur ouvre le dossier WPILib VS Code. Faites glisser l’application VS Code sur le dock. Éjectez l’image WPILibInstaller du bureau.

Some Linux versions require you to give the desktop shortcut the ability to launch. Right click on the desktop icon and select Allow Launching.

Menu qui apparaît après avoir cliqué sur le bouton droit de la souris sur l’icône du bureau sous Linux.

Furthermore, modern Ubuntu versions 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 $XDG_DATA_HOME/wpilib/YEAR/wpilibcode/AppArmor/* /etc/apparmor.d/
$ sudo systemctl reload apparmor.service

The above will fix the following error:

The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that ~/.local/share/wpilib/2027/advantagescope/chrome-sandbox is owned by root and has mode 4755.

Note

L’installation des outils de bureau et le redémarrage créeront un dossier sur le bureau appelé YYYY WPILib Tools, où YYYY est l’année en cours. Les raccourcis des outils de bureau ne sont pas disponibles sous Linux et MacOS.

Installation C++ supplémentaire pour la simulation

C++ robot simulation requires that a native compiler to be installed. For Windows, this would be Visual Studio 2026 (not VS Code), macOS requires Xcode 15.3 or later, and Linux requires GCC 14, on Ubuntu/Debian it is provided by the g++-14 package.

Assurez-vous que l’option Desktop Development with C++ est cochée dans le programme d’installation de Visual Studio pour la prise en charge de la simulation.

Capture d’écran de l’option outils de compilation de Visual Studio

Qu’est-ce qui a été installé?

Le programme d’installation hors ligne installe les composants suivants:

  • Visual Studio Code - L’IDE pris en charge à partir de 2019 et en montant pour le développement du code robot. L’installateur hors ligne définit une copie distincte de VS Code pour le développement WPILib, même si vous avez déjà VS Code sur votre ordinateur. Cela est possible car certains des paramètres pour la configuration et le bon fonctionnement de la WPILib peuvent briser les flux de travail existants si vous utilisez VS Code pour d’autres projets.

  • C++ Compiler - The toolchains for building C++ code for the Systemcore

  • Gradle - La version spécifique de Gradle utilisée pour la création/déploiement du code robot C++ ou Java

  • Java JDK/JRE - Une version spécifique de Java JDK/JRE qui est utilisée pour construire le code robot Java et pour exécuter l’un des outils basés sur Java (Dashboard, etc.). Celle-ci cohabite avec les installations JDK déjà existantes et n’écrase pas la variable JAVA_HOME

  • WPILib Tools - OutlineViewer, Glass, SysId, Data Log Tool, AdvantageScope, Elastic, WPIcal

  • WPILib Dependencies - OpenCV, etc.

  • VS Code Extensions - Extensions WPILib et Java/C++/Python pour le développement du code robot sous VS Code

  • Documentation - Offline copies of this wpilib-docs documentation and Java/C++/Python APIs

Note

It’s not recommended to use the VS Code Backup and Settings Sync feature to sync settings between a regular VS Code installation and the WPILib VS Code installation. This could lead to either installation being broken.

Désinstallation

WPILib est conçu pour être installé dans différents dossiers pendant différentes années, de sorte qu’il n’est pas nécessaire de désinstaller une version précédente avant d’installer le WPILib de cette année courante. Cependant, les instructions suivantes peuvent être utilisées pour désinstaller WPILib si vous le souhaitez.

  1. Delete the appropriate wpilib folder (c:\Users\Public\wpilib\YYYY where YYYY is the year to uninstall)

  2. Supprimez les icônes du bureau dans C:\Users\Public\Public Desktop

  1. Delete the appropriate wpilib folder (~/wpilib/YYYY where YYYY is the year to uninstall)

  1. Delete the appropriate wpilib folder ($XDG_DATA_HOME/wpilib/YYYY where YYYY is the year to uninstall). eg rm -rf $XDG_DATA_HOME/wpilib/YYYY

Dépannage

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.