How to add a Windows path to the Windows Ubuntu Subsystem path

To add lasting params to the $PATH in Ubuntu Bash for Windows 10 you first have to start the bash with the additional param "--login"

C:\Windows\System32\bash.exe ~ --login

Thanks to https://github.com/Microsoft/BashOnWindows/issues/219#issuecomment-294390862

After that you can edit your .profile

nano ~/.profile

There you can add a line at the last position:

PATH=$PATH:/new/path:another/path


First, I don't understand what do you mean by Shell path. You said your Shell path is jos@HOME:~$. jos is your username and HOME is your computer name. ~ indicate home directory.

If you want to access your folder in F: drive then you can do this:

cd /mnt/f/Projects/Phrasal

This will navigate you to the folder you want. If you want to add it to your PATH then do this:

PATH=$PATH:~/mnt/f/Projects/Phrasal