Is there any way to use Xcode on a computer that I don't have admin permissions for?

Is there a way to at least use command line tools like git and gcc?

  • Is this your computer?
    – les
    Commented Feb 21, 2015 at 5:26
  • It's my parents computer. I have a laptop but I want to use theirs for programming and they don't want me to have their password :/ Commented Feb 21, 2015 at 6:44
  • 2
    then I think you have some negotiating to do;) No, it's not possible, otherwise, there's no security. You can install, get them to enter the password when asked. still won't get you anywhere if you need sudo or admin perms from inside the tools.
    – Tetsujin
    Commented Feb 21, 2015 at 7:11

1 Answer 1


There's an answer to this over on StackOverflow: https://stackoverflow.com/questions/1837889/authorize-a-non-admin-developer-in-xcode-mac-os

You need to add your OS X user name to the _developer group. See the posts in this thread* for more information. The following command should do the trick:

sudo dscl . append /Groups/_developer GroupMembership <username>

It looks like you'll still need the admin account for this part but after that you should be able to run Xcode on your account.

*This isn't the link from the original answer. That page is actually gone. I've added a new link ot a thread in the Apple Support Communities.

Hat tip to Ned Deily.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .