Download and install the software listed below. Refer to section Before You Begin for installation details.
Launch MPLAB X IDE. Ensure that the compiler is shown in the IDE window Tools>Options>Embedded>Build Tools. If not, click the Add button to find the compiler install location manually.