Last active
April 19, 2023 18:49
-
-
Save skluck/ea6eab4adcbef969ff66c5b5e2926a2f to your computer and use it in GitHub Desktop.
Revisions
-
skluck revised this gist
Jul 26, 2016 . 1 changed file with 5 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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. -
skluck created this gist
Jul 26, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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" ```