Add a Directory to Path in Bash

Written by
Date: 2012-04-25 09:40:05 00:00

Small tip: For Linux or Mac, actually Bash.

How to add a folder to the path?

Add directory to the beginning of the path


Add directory to the end of the path


Need it permanent?

Just add it to your .bashrc file. note the leading dot