Getting an E-2 Visa outside of home country

Hey guys! I have a quick question that needs a firm answer. I am currently living in Australia, but I am an American citizen. I have never worked in Korea before. Do I need to go back to the United States to get an E-2 visa or can I stay in Australia and get it in Sydney? I keep getting inconsistent answers on this. Thanks so much.