Already installed Homebrew, now I want to make a screencast showing how to install it from scratch

Discussion in 'OS X Yosemite (10.10)' started by gordian, May 21, 2016.

  1. gordian macrumors member

    Joined:
    May 3, 2010
    #1
    I already installed Homebrew and many other apps (this is my main work machine) but I'd like to be able to create screencasts showing how to do these things from scratch, preferably on my same machine and preferably without a virtual machine.

    I created a new administrative user but when I login with that account and head to Terminal typing `brew update` actually starts the Homebrew update process (it fails due to permissions issues).

    I guess I'm looking for a way to create some sort of segregated user account similar to a virtual machine—maybe like how some electronic stores let you do anything on their floor model computers because at the end of the day they all reset.

    I hope that's clear!

    If anyone has any experience with something like this I'd really appreciate some insight. Thanks!
     
  2. KALLT macrumors 601

    Joined:
    Sep 23, 2008
    #2
    You could install a second Homebrew into another location (e.g. /opt/local instead of /usr/local) for your second account and then prepend the path of the brew binary so that the brew command will refer to that second installation for that account (e.g. export PATH="/opt/local/bin:/opt/local/sbin:$PATH" in your ~/.bash_profile).

    https://github.com/Homebrew/brew/blob/master/share/doc/homebrew/Installation.md

    For demonstrative purposes, this should work. Homebrew itself does not recommend it though, so you should not use this if you really depend on it.
     

Share This Page