Created
April 17, 2019 12:22
-
-
Save jamedge/62adaa34872928585182feca464687d3 to your computer and use it in GitHub Desktop.
[sh: brew: link package installation] Symlink all of formula's installed files into the Homebrew prefix #homebrew #shell
This file contains 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 characters
# it will create the symlink for the package in `/usr/local/bin` making it accessable in the path | |
# however, to make brew package prioritised over the system one (if it exist), this (brew symlinks) location must be checked before the system one (`usr/bin/`) | |
# to do this, PATH should be overriden with `export PATH=/usr/local/bin:$PATH` in `.zshrc` / `.bash_profile` (depending on a shell) | |
brew link <package_name> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment