Installing MPLAB® XC32/XC32++ Compiler

Last modified by Microchip on 2026/08/10 12:34

All MPLAB® XC Compiler Licenses Now Free

All MPLAB XC compilers are now available without license restrictions, providing users with full access to compiler optimization capabilities at no cost. 

Please visit the MPLAB XC Compiler homepage to download the compiler that is right for you.

Download MPLAB XC32 Installer

Download MPLAB XC32 Compiler

Download the appropriate installer to your operating system. 

Operating SystemRun the Installer
Windows®

Go to the location where you downloaded the installer. Unzip the downloaded file and run xc32-vX.XX-windows-installer.exe.

Depending on your Windows security settings, you may see a window asking if you are sure you want to run this program. Answer Yes.

Linux®

You may need to make the file executable. In a terminal, go to the directory where you downloaded the installer and run the command:​

chmod u+x xc32-vX.XX-linux-installer.run

Then as root or using sudo, run the installer:

sudo ./xc32-vX.XX-linux-installer.run
Mac®

Go to the location where you downloaded the installer. Double click on the downloaded file to unpack it and run xc32-vX.XX-osx.app.

You may see a warning message window. You can click on Open to continue.

warning message about running downloaded files

Your computer's login and password need to be entered if you have enabled that protection for new installations. If you don't have a password enabled you can just click on OK to continue.

username and password window


The remaining steps are the same for all three operating systems.

Welcome to the Installer

Click Next >.

XC32


Accept License Agreement

Select the I accept the agreement radio button. Then click Next >.

MPLAB XC32 Setup Wizard license agreement


Installation Directory

Use the default installation location or choose a different one, if you prefer. Click Next >.

MPLAB XC32 Setup Wizard installation directory


Compiler Settings

  • Apply settings to all users of this machine
    • Leave checked or uncheck if required in your environment
  • Add xc32 to the PATH environment variable
    • Not generally required unless you plan to use XC16 from the command line (terminal or script)

Click Next >.

MPLAB XC32 Setup Wizard compiler settings


Ready to Install Compiler

Click Next >.

MPLAB XC32 Setup Wizard ready to install


Installing

Wait while the installer unpacks and installs all the files.

MPLAB XC32 Setup Wizard installing


Device Support from DFPs

MPLAB XC C compilers no longer include device-specific support files. This information can be found in Device Family Packs (DFPs).

MPLAB XC32 Device Support from DFPs


Installation Complete

Click Finish.

MPLAB XC32 Setup Wizard finished

Back to Top