Extend $PATH variable in git bash under Windows

Here are two ideas.

You can have your path with double quote mark.

export PATH=$PATH:”/C/Program Files (x86)/apache-maven-3.3.3/bin”

enter image description here

Or, You can also make symbolic link for the directory.

ln -s “/C/Program Files (x86)/apache-maven-3.3.3/bin” ./mvnbin
export PATH=$PATH:/your-path/mvnbin

enter image description here

It works for me in mingw32 environment.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)