RKNRFGO is an OSX application which allows programming of an nrf51822 development or evaluation board via its built-in Segger J-Link interface. It comes with optional installs for two command-line tools, nrfjprog and cdccontrol.
Wiki: RKNRFGO Wiki: cdccontrol Wiki: nrfjprog