Skip to content

Instantly share code, notes, and snippets.

@skluck
Last active April 19, 2023 18:49
Show Gist options
  • Select an option

  • Save skluck/ea6eab4adcbef969ff66c5b5e2926a2f to your computer and use it in GitHub Desktop.

Select an option

Save skluck/ea6eab4adcbef969ff66c5b5e2926a2f to your computer and use it in GitHub Desktop.

Revisions

  1. skluck revised this gist Jul 26, 2016. 1 changed file with 5 additions and 1 deletion.
    6 changes: 5 additions & 1 deletion instructions.md
    Original file line number Diff line number Diff line change
    @@ -33,4 +33,8 @@ Add a separate bin directory to $PATH if you manually download bins on occasion.

    ```
    export PATH="$HOME/bin:$PATH"
    ```
    ```

    ## Verification

    Run `brew doctor` and fix any issues it presents. It will always warn about having homebrew outside of `/usr/local`, that is ok.
  2. skluck created this gist Jul 26, 2016.
    36 changes: 36 additions & 0 deletions instructions.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,36 @@


    ## 1 Ensure xcode is up to date

    Download the latest version from the Mac App Store

    ## 2 Install Command Line Tools

    Either run `xcode-select --install` or if that fails, manually download them from the Apple Developer Site.

    ## 3 (optional) Uninstall Homebrew from `/usr/local`

    Run `/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"`

    Download the uninstall script and run `./uninstall --help` to view more uninstall options.

    ## 4 Download homebrew

    Clone https://github.com/homebrew/brew into `$HOME/homebrew`

    ## 5 Add to path in `.bashrc`

    Add homebrew to your $PATH.

    Example:
    ```
    export PATH="$HOME/homebrew/bin:$HOME/homebrew/sbin:$PATH"
    ```

    ## 6 (optional) Isolated bins

    Add a separate bin directory to $PATH if you manually download bins on occasion. For example, composer, nvm, rvm, or go binaries.

    ```
    export PATH="$HOME/bin:$PATH"
    ```