Visual Studio Code — WSL2 command line window opening

Brian Horakh
Mar 17, 2021

--

Figure out where you’re VS Code is installed for me:

“C:\Users\gru3h\AppData\Local\Programs\Microsoft VS Code\Code.exe

This will open code in a new window.

alias code=”/mnt/c/Users/gru3h/AppData/Local/Programs/Microsoft\ VS\ Code/Code.exe -r “

Easy peezy. 🍋🤗

--

--