Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a place to install command line programs on OSX without an admin password? I've tried /bin and /usr/bin, and I have permission for neither. Like a ~/Applications, but for the command line.

share|improve this question
up vote 4 down vote accepted

Apps can run from anywhere, so if you don't want to authenticate as an admin user, you'll want to write it to /Users/Shared or ~ and expand your path to accommodate wherever you chose to land the package.

If you're working in a lab situation, you can make a USB drive called dev and a folder named bin to contain gcc would require something like this for the default bash shell:

export PATH=/Volumes/dev/bin:$PATH
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.