Either locally, with dfu-util, or using the Particle CLI. Video, a bit outdated at this point, but still useful.