Modify Path in Cygwin
Here’s how to add to your path in a Cygwin session:
Go to your $HOME directory, then
vi
.profile
Enter the following:
PATH=(add your path entries here):$PATH export PATH
Save the .profile.
Exit your bash session, and run it again.