- Open the bash window and you by default you're in the root directory
$pwd
- Change to user directory
$ cd ~
$ pwd
/c/Users/User-Nards
- Create a .bash_profile file or append to an existing one (use single quotes or $PATH will get interpolated)
$ echo 'PATH=$PATH:/c/{directory}' >> .bash_profile
- Check if the file has the entry
$ cat .bash_profile
- Source the bash window to refresh profile or configurations
$ source ~/.bashrc