The teenager accused of shooting and killing his friend with an airgun during a drinking session can be named for the first time.
Zhivargo Williams, 18, made a brief appearance at the Manukau District Court today.
Judge Jonathon Moses granted the man bail to an address in Huntly.
He also imposed conditions, including an overnight curfew. Williams is not allowed to use a firearm, drink alcohol or do drugs.
Judge Moses also forbade the man travelling to Auckland without the permission of the police.