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 roboRIO. WPILib Installation is required for Java and C++ teams. LabVIEW teams can skip to Installation de LabVIEW pour FRC (LabVIEW uniquement). 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 Shuffleboard 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 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

Windows 10 support from Microsoft ended 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, or switch to one of the supported Linux distributions listed.

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 2026.2.1 Release - January 16, 2026

Téléchargements

Downloads for other platforms

Notes de mise à jour

This is an update release of WPILib for the 2026 season. This release adds 2026 season-specific field images and AprilTag information as well as a handful of other minor improvements and fixes. This upgrade is recommended for all teams.

Upgrading from earlier 2026 releases is easy: simply download and run the new installer and it will update your current installation. If you already have the 2026 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 2026.

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 later, or macOS 13.3 or later. 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 2026. You will need a new RoboRIO image for 2026; this is available via the FRC 2026 Game Tools. Follow the WPILib installation guide to install WPILib.

If you're starting from a 2025 robot project, you will need to import your project to create a 2026 project. The import process is important, as it will make a few automated corrections for some breaking changes that happened in 2026. 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 2026.1.1

WPILib

  • Add 2026 game specifics by @Kevin-OConnor in https://github.com/wpilibsuite/allwpilib/pull/8558

Math

  • Fix Rotation3d interpolation and document extrinsic vs intrinsic by @KangarooKoala in https://github.com/wpilibsuite/allwpilib/pull/8544
  • Add multi tap boolean stream filter and multi tap trigger modifier (double tap detector) by @MichaelLesirge in https://github.com/wpilibsuite/allwpilib/pull/8307

SysID

  • Fix crash on partially empty raw data by @calcmogul in https://github.com/wpilibsuite/allwpilib/pull/8572

Elastic

  • Upgraded to 2026.1.1 (see https://github.com/Gold872/elastic-dashboard/releases/tag/v2026.1.1)

VS Code

  • Improve robustness of preferences file detection by @sciencewhiz in https://github.com/wpilibsuite/vscode-wpilib/pull/839

Installer

  • Fix typo in RoboRIO Team Number Setter shortcut by @sciencewhiz in https://github.com/wpilibsuite/WPILibInstaller-Avalonia/pull/595
  • Catch download failures and show URL by @sciencewhiz in https://github.com/wpilibsuite/WPILibInstaller-Avalonia/pull/596
  • No longer install Python VS Code extensions by @sciencewhiz in https://github.com/wpilibsuite/WPILibInstaller-Avalonia/pull/600

New Contributors

  • @doleksy made their first contribution in https://github.com/wpilibsuite/allwpilib/pull/8567

Full Changelog: https://github.com/wpilibsuite/allwpilib/compare/v2026.1.1...v2026.2.1

MD5 Hashes

153de974a3ff2a0d53634effc70097c2 Linux/WPILib_Linux-2026.2.1.tar.gz
003cf4a76265c26104d3bbad7d685b14 LinuxArm64/WPILib_LinuxArm64-2026.2.1.tar.gz
ebdcd07dbbb60c628ab3a72bf280fe3b Win64/WPILib_Windows-2026.2.1.iso
a461b2b736ffa00fa781214c276d9ee2 macOS/WPILib_macOS-Intel-2026.2.1.dmg
0295103baf75cab0075ee255af744d00 macOSArm/WPILib_macOS-Arm64-2026.2.1.dmg

SHA256 Hashes

c36591be0b5d1b753356543e0e672af9d91335fb26b5ffcba31cf05af829c656 Linux/WPILib_Linux-2026.2.1.tar.gz
b4ded5ba0b6cdcd64f0ba0da3c42220bb42e1bc4d8d373e5b28131185acff824 LinuxArm64/WPILib_LinuxArm64-2026.2.1.tar.gz
6dd86b714c41127c9ef7683b398dc21423cba7146e6868a97fefbd65a14429cb Win64/WPILib_Windows-2026.2.1.iso
3f725ff13c08ad61dd51f695e25b019e0e13474639f2db0f27f18f0d366022bb macOS/WPILib_macOS-Intel-2026.2.1.dmg
98c13566292993d3f32c0e0765430617f56c18d85d608115821442fefffe6dcb macOSArm/WPILib_macOS-Arm64-2026.2.1.dmg

You can also 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.

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.

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.

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 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 ~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

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.

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.

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

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/2026/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.

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 - 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.

  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 (~/wpilib/YYYY where YYYY is the year to uninstall). eg rm -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.