pic32prog is a program for flashing pic32 boards from command line on Linux. It works with: * Microchip PICkit2 * Microchip PICkit3 with script firmware. * Other ones: https://github.com/sergev/pic32prog/wiki
To use pic32prog, the PICkit3 must be updated with a scripting mode firmware. This describes how to do it on Linux using a windows VM (free).