Problem with terminal trying to create macOS sierra usb boot drive
I formatted my USB and I am trying to create a macOS Sierra boot drive for my MacBook air 2011 (a1466). I followed all the steps on a youtube guide and I got to the point where I typed
sudo (dragged and dropped create install media) --volume (dragged and dropped usb drive)
and pressed enter. But when I entered my password, I was not prompted to erase the usb and install, instead it gives me usage, list of arguments (volume, applicationpath, and nointeraction), and an example. I tried using this usage/example aswell but it just says command not found
Any help would be appreciated!
[Edited by Moderator]