pi@birth ~ $ gpio -g mode 17 out
The optional -g flag causes pin numbers to be interpreted as BCM_GPIO pin numbers rather than standard wiringPi pin numbers.
pi@birth ~ $ gpio -g write 17 1
pi@birth ~ $ gpio -g write 17 0