You have to add it to /etc/paths
.
Reference (which works for me) : Here
More Related Contents:
- Setting environment variables on OS X
- Bash script absolute path with OS X
- Why isn’t DYLD_LIBRARY_PATH being propagated here?
- What is the Unix command to create a hardlink to a directory in OS X?
- Mac OS X 10.9 – setting permanent environment variables
- Can I export a variable to the environment from a Bash script without sourcing it?
- Set environment variables on Mac OS X Lion
- How to restore .bash_profile on a mac? None of my unix terminal are working [closed]
- Running a command in a new Mac OS X Terminal window
- Command line command to auto-kill a command after a certain amount of time
- How do I edit $PATH (.bash_profile) on OS X?
- Why does cURL return error “(23) Failed writing body”?
- How to use GNU sed on Mac OS 10.10+, ‘brew install –default-names’ no longer supported
- Date command does not follow Linux specifications (Mac OS X Lion)
- OS X / Linux: pipe into two processes?
- How to run a shell script on a Unix console or Mac terminal?
- Should PATH contain directories or full paths to binaries?
- Parse ifconfig to get only my IP address using Bash
- How do I create a Bash alias?
- PHP exec $PATH variable missing elements
- Installing Homebrew on macOS
- Difference between .profile and .bash_profile on Snow Leopard
- Difference between shell and environment variables
- how to pass command-line arguments to a program run with the open command?
- Where are core dumps written on Mac?
- How to make OS X to read .bash_profile not .profile file
- How to get the PID of a process by giving the process name in Mac OS X ?
- Add app to OSX “Login Items” during a Package Maker installer postflight script
- How do you run a script on login in *nix?
- Run a script only at shutdown (not log off or restart) on Mac OS X