During installation, create a user called admin
rather than one with your own name.
Then install Homebrew as per latest instructions (note that this will install the necessary CLI components for XCode):
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"