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!
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!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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!I was working that way and thinking the problem was WSL 2. hehe
So glad you figured it out! It’s so much better when not using mnt haha!
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!