bash_profile by running this one-liner from the Terminal: echo 'export PATH="/usr/local/bin:/usr/local/sbin:~/bin:$PATH"' > ~/.bash_profile bash_profile, which is a file that gets loaded automatically every time you open a new Terminal window. You do that by defining the PATH in your. ![]() In order to use the latest version of svn, or any other tool you installed in /usr/local/bin with Homebrew (or MacPorts, manually, etc), you want to tell your Mac to first look in /usr/local/bin before it looks in the default /usr/bin. You can take advantage of the PATH environment variable, which allows you to list several directories that you want your Mac to search in when looking for executables. ![]() It's generally not recommended to alter your default system tools in any way. ![]() There is a better and safer way to specify which version of an executable you want your computer to use without having to modify the executables that came pre-installed on your Mac.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |