path
is a command line executable that displays all paths on the system PATH as an ordered list by descending priority. It is intended for Unix-like systems including Linux and macOS.
Execute the following series of commands to download the source archive, unpack it, and install path
to /usr/local/bin/path
:
curl -LO https://github.com/chrissimpkins/path/archive/master.tar.gz
tar -xvzf master.tar.gz
cd path-master
make && sudo make install
Detailed installation instructions follow if you have difficulties with the above installation approach.
Please confirm that make
is installed to use the following instructions for installation of path
.
macOS users must install XCode with the command line developer tools in order to compile path
from source. You can install XCode from the App Store.
Most Linux users can install make
with the respective Linux distro package manager if it is not available by default.
Download an archive of the path
source code and unpack it to a directory on your system. Navigate to the root of the source code archive that you unpacked.
Next, compile the executable from the source code and install with:
$ make && sudo make install
path
is installed on the file path /usr/local/bin/path
. Confirm that /usr/local/bin
exists on your system PATH in order to use the application.
path
is executed with a simple command line request:
$ path
This request will stream an ordered, newline delimited list of your system PATH directory paths to the standard output stream. The list is in descending order of priority from highest (top) to lowest (bottom).