Guide d’installation WPILib
This guide is intended for Java and C++ teams. LabVIEW teams can skip to Installation de LabVIEW pour FRC (LabVIEW uniquement). Python teams can skip to Guide d’installation de Python. Additionally, the below tutorial shows Windows 11, but the steps are identical for all operating systems. Notes differentiating operating systems will be shown.
Prérequis
- Système d’exploitation et Architectures supportés:
Windows 10 & 11, 64 bit seulement. 32 bit et Arm ne sont pas supportés.
Ubuntu 22.04 et 24.04, 64 bits. D’autres distributions Linux avec glibc >= 2.34 peuvent fonctionner, mais ne sont pas supportées
macOS 13.3 or higher, both Intel and Arm.
Avertissement
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
Le support de Microsoft pour Windows 10 se terminera en Octobre 2025 <https://www.microsoft.com/en-us/windows/end-of-support>`__. Nous avons l’intention de continuer à supporter Windows 10 au courant de la saison 2026, mais devrons peut-être terminer le support en 2027. Les équipes devraient planifier leur chemin de mise à jour vers Windows 11.
Note
C++ compilation is memory intensive. A minimum of 32 GB of RAM is recommended for C++ teams.
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
Téléchargements
Notes de mise à jour
This is an update release of WPILib for the 2025 season. This release adds an update to the AprilTags layout (see TU12 for details), restores Shuffleboard to 2024 functionality, 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 Shuffleboard. 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
- Windows (2.4 GB)
- Mac (Arm) (2.2 GB)
- Mac (Intel) (2.3 GB)
- Linux (x64) (2.8 GB)
- Linux (arm64) (2.4 GB)
What's Changed since 2025.2.1
WPILib: AprilTags
- Split 2025 AprilTag maps by @Kevin-OConnor in https://github.com/wpilibsuite/allwpilib/pull/7781
WPILib: Epilogue
- Fix lazy logging of mutable arrays by @SamCarlberg in https://github.com/wpilibsuite/allwpilib/pull/7665
- Fix epilogue breaking when package-info files are present by @SamCarlberg in https://github.com/wpilibsuite/allwpilib/pull/7749
WPILib: Math
- Fix LinearSystemId return type and docs by @calcmogul in https://github.com/wpilibsuite/allwpilib/pull/7675
- Implement Pose2d and Pose3d rotateAround() by @TheComputer314 in https://github.com/wpilibsuite/allwpilib/pull/7659
- Fix various constexpr support bugs by @calcmogul in https://github.com/wpilibsuite/allwpilib/pull/7676
- DifferentialDriveWheelPositions: tag as Proto/StructSerializable by @superpenguin612 in https://github.com/wpilibsuite/allwpilib/pull/7622
- Fix macro name typo by @wozniak in https://github.com/wpilibsuite/allwpilib/pull/7707
- Fix infinite loop in ArmFeedforward::Calculate(xₖ, vₖ, vₖ₊₁) by @calcmogul in https://github.com/wpilibsuite/allwpilib/pull/7745
- Fix missing nanopb headers in wpimath by @Gold856 in https://github.com/wpilibsuite/allwpilib/pull/7731
- Document drift from desaturating discretized chassis speeds (NFC) by @KangarooKoala in https://github.com/wpilibsuite/allwpilib/pull/7741
- Add setters for Feedforward gains by @spacey-sooty in https://github.com/wpilibsuite/allwpilib/pull/7784
WPILib: Java Units
- Add Measure.per overloads for all known unit types by @SamCarlberg in https://github.com/wpilibsuite/allwpilib/pull/7699
WPILib
- [hal, wpilib] AddressableLED: allow selecting color order by @rzblue in https://github.com/wpilibsuite/allwpilib/pull/7102
- [hal] SPI: Remove byte limit on size by @PeterJohnson in https://github.com/wpilibsuite/allwpilib/pull/7774
- [wpilibj] ADIS16470: Allow product ID of 16470 by @PeterJohnson in https://github.com/wpilibsuite/allwpilib/pull/7704
- [wpilibc] Alert: Fix first alert in group not publishing data by @rzblue in https://github.com/wpilibsuite/allwpilib/pull/7711
- [wpilibc] Remove Alert magic static with map lookup by @virtuald in https://github.com/wpilibsuite/allwpilib/pull/7712
- [wpilibc, wpilibh, cmd] Improve HID direction documentation (NFC) by @KangarooKoala in https://github.com/wpilibsuite/allwpilib/pull/7672
- [sysid] Error on missing tests in loaded DataLog by @DeltaDizzy in https://github.com/wpilibsuite/allwpilib/pull/7747
- [wpiutil] Remove broken StackWalker library by @calcmogul in https://github.com/wpilibsuite/allwpilib/pull/7777
- [wpinet] Serve index HTML file from WebServer if available by @jwbonner in https://github.com/wpilibsuite/allwpilib/pull/7780
GradleRIO
- Fix arm64 linux simulation by @ThadHouse in https://github.com/wpilibsuite/GradleRIO/pull/775
- Warn if vendordep with duplicate uuid is found by @sciencewhiz in https://github.com/wpilibsuite/native-utils/pull/242
VSCode
- Add menu item for skip select simulate extension by @sciencewhiz in https://github.com/wpilibsuite/vscode-wpilib/pull/748
Installer
- Add message about ejecting previous installers by @sciencewhiz in https://github.com/wpilibsuite/WPILibInstaller-Avalonia/pull/515
- Fix WMClass for Elastic by @sciencewhiz in https://github.com/wpilibsuite/WPILibInstaller-Avalonia/pull/516
- Update AdvantageScope to 4.1.2 by @jwbonner in https://github.com/wpilibsuite/WPILibInstaller-Avalonia/pull/520
- Update Elastic to 2025.1.0 by @Gold872 in https://github.com/wpilibsuite/WPILibInstaller-Avalonia/pull/521
- Fix VS Code path to handle renamed .app files on macos by @TheTripleV in https://github.com/wpilibsuite/WPILibInstaller-Avalonia/pull/519
New Contributors
- @wozniak made their first contribution in https://github.com/wpilibsuite/allwpilib/pull/7707
Full Changelog: https://github.com/wpilibsuite/allwpilib/compare/v2025.2.1...v2025.3.1
MD5 Hashes
723af2144b05860f90ae70819d6233a3 Linux/WPILib_Linux-2025.3.1.tar.gz
33ebfff27122605285fb266cd5595a6f LinuxArm64/WPILib_LinuxArm64-2025.3.1.tar.gz
6307170a459d874b4df7c4c5079a8064 Win64/WPILib_Windows-2025.3.1.iso
9ce0a029c1c63462091044ce874db7ec macOS/WPILib_macOS-Intel-2025.3.1.dmg
ed7e604d4a469af78c6cd82ffb53c6ba macOSArm/WPILib_macOS-Arm64-2025.3.1.dmg
SHA256 Hashes
2d8bc6ab75d7050e9fbf3cb3984042fbdbe2a19bbf270cc7c81345b74b671877 Linux/WPILib_Linux-2025.3.1.tar.gz
40076564a612a99d7a498c75f4cac6ea91924673dd5745656e0c2a69e068dcfe LinuxArm64/WPILib_LinuxArm64-2025.3.1.tar.gz
bb78e57a8887b7e959aa3984c780db50cb66a24d7a331e9e566e0e4b0082b768 Win64/WPILib_Windows-2025.3.1.iso
924c0d5afd1b6f91748f50c6aec052696ec1d551795300b3621d94df84fba502 macOS/WPILib_macOS-Intel-2025.3.1.dmg
d2dfe3ab14d43d86ca7021c104aaa88843c07fc310b6cdb72a78d3ea4ac4bee9 macOSArm/WPILib_macOS-Arm64-2025.3.1.dmg
Vous pouvez télécharger la dernière version de l’installeur depuis GitHub <https://github.com/wpilibsuite/allwpilib/releases/latest/>`__.
Une fois sur la page des versions de GitHub, faites défiler jusqu’à la section des téléchargements.

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.
Les utilisateurs de Windows 10+ peuvent cliquer avec le bouton droit sur l’image du disque téléchargé et sélectionner Mount pour l’ouvrir. Ensuite, démarrez WPILibInstaller.exe
.

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.
Vous pouvez utiliser 7-zip pour extraire l’image disque en faisant un clic droit, en sélectionnant 7-Zip et en sélectionnant:guilabel:Extract to…. Les utilisateurs Windows 11 devront peut-être sélectionner Show more options au bas du menu contextuel.

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.

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

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.


Cela présente une liste d’options incluses avec l’installation de WPILib.
Tools Only n’installe que les outils WPILib (Pathweaver, Shuffleboard, RobotBuilder, SysId, Glass, et OutlineViewer) ainsi que JDK.
Everything installe l’environnement de développement complet (VS Code, extensions, toutes les dépendances), les outils WPILib et le JDK.
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.

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
Cette option télécharge et enregistre une copie de VS Code pour toutes les plates-formes, ce qui est utile pour partager la copie du programme d’installation.
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.
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

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

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!
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.
Certaines versions de Linux (par exemple Ubuntu 22.04 et ultérieures) vous obligent à donner au raccourci de bureau la possibilité de démarrer. Cliquez à droite sur l’icône de bureau et sélectionnez Allow Launching.

Pour Ubuntu 23.10 et ultérieur désactiver les namespaces utilisateur du noyau pour des applications inconnues. Cela signifie que la fonctionnalité de bac-à-sable ne fonctionnera pas sur le VS Code WPILib. Pour activer les fonctionnalités de bac-à-sable pour les applications WPILib, des profils AppArmor sont fournis et peuvent êtres installés avec la commande ci-dessous.
$ sudo cp ~/wpilib/YEAR/frccode/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 ~/wpilib/2025/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
La simulation de robot C++ nécessite l’installation d’un compilateur natif. Pour Windows, ce serait Visual Studio 2022 version 17.9 ou ultérieur (pas VS Code), macOS requiert Xcode 14 ou ultérieur, et Linux (Ubuntu) nécessite le package build-essential
.
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.

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 - Les chaînes de compilation pour la création du code C++ pour le roboRIO
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 - SmartDashboard, Shuffleboard, RobotBuilder, OutlineViewer, PathWeaver, Glass, SysId, Data Log Tool, roboRIO Team Number Setter, 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 - Copies hors-ligne de la documentation frc-docs et les API Java/C++/Python
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 FRC 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.
Delete the appropriate wpilib folder (
c:\Users\Public\wpilib\YYYY
whereYYYY
is the year to uninstall)Supprimez les icônes du bureau dans
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
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.