DEV Community

Discussion on: Far More Epic Development Environment using WSL 2

Collapse
amejiarosario profile image
Adrian Mejia • Edited on

Very nice post! I just switched from Mac to Windows, and using these tools here makes development more pleasant.
One thing I discovered the hard way about using WSL2. Initially, I was using the /mnt/... locations, and it was really slow. I moved my projects directly to the native WSL2 filesystem, and it was much faster!

Collapse
marksduarte profile image
Marks Duarte

I was working that way and thinking the problem was WSL 2. hehe

Collapse
johnbwoodruff profile image
John Woodruff Author

So glad you figured it out! It’s so much better when not using mnt haha!

Collapse
johnbwoodruff profile image
John Woodruff Author

Thanks! Yes, the /mnt directory is the "mounted" Windows file system, and that's one of the things the WSL team specifically says to avoid. I'm not sure why they default you to starting in the /mnt directory, but that's why I specifically mentioned in my article to change the default of Windows Terminal to the Ubuntu home directory. Hopefully that'll help others avoid that problem too!