Open and edit /etc/paths
using any text editor.
$ sudo vi /etc/paths
Note: each entry is separated by a new line
/usr/local/bin
/usr/bin
/bin
/usr/sbin
/sbin
Save and close the file. Then restart your terminal.
More Related Contents:
- Problems getting pygame to show anything but a blank screen on Macos
- How to install latest version of openssl Mac OS X El Capitan
- npm global path prefix
- Build Multiarch OpenSSL on OS X
- Why is %eax zeroed before a call to printf?
- How to completely uninstall VS Code on mac?
- How to hide the Dock icon
- How to set the runtime path (-rpath) of an executable with gcc under Mac OSX?
- “restricted” folder/files in OS X El Capitan
- In OS X Lion, LANG is not set to UTF-8, how to fix it?
- Pasting code into terminal window into vim on Mac OS X
- macOS window with integrated title bar and toolbar?
- Cannot create a symlink inside of /usr/bin even as sudo [closed]
- configure: error: C compiler cannot create executables
- How do I create a Bash alias?
- Error: The ‘brew link’ step did not complete successfully
- How to trace system calls of a program in Mac OS X?
- gdb fails with “Unable to find Mach task port for process-id” error
- OSX application without storyboard or xib files using Swift
- How do I increase the stack size when compiling with Clang on OS X?
- How to install sshpass on Mac?
- How do I set a task to run every so often?
- How to fix curl: (60) SSL certificate: Invalid certificate chain
- How to create a single shared framework between iOS and OS X
- How to write assembly language hello world program for 64 bit Mac OS X using printf?
- Change OSX keyboard layout(“input source”) programmatically via terminal or AppleScript?
- How to customize disclosure cell in view-based NSOutlineView
- Is there a way of getting a Mac’s icon given its model number?
- Getting alias path of file in swift
- How to create virtual hosts in MAMP?