DEV Community ๐Ÿ‘ฉโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป

Jesse Houwing for Xpirit

Posted on • Originally published at jessehouwing.net on

Launch WSL bash prompt from Tower

Launch WSL bash prompt from Tower

When you launch a terminal from Tower, it launches an included MingW bash shell. Now that Windows 10 ships with the Windows Subsystem for Linux it would be nice to use that bash shell instead.

My first attempts at launching WSL failed miserably. It looks like Windows Filesystem Redirection causes to not see wsl.exe or bash.exe because Tower is a 32-bit program.

After a number of tries, I found that you can use the sysnative filesystem redirection point to escape the 32 bit world:

Title: Bash (WSL)

Path: C:\WINDOWS\sysnative\wsl.exe

Arguments:

Launch WSL bash prompt from Tower

Launch Windows Subsystem for Linux from Tower

Launch WSL bash prompt from Tower

Launching the Windows Subsystem for Linux bash prompt from Tower

Top comments (0)

Join us at DEV
Yes, this is technically an โ€œadโ€, but really we just want to ask if you want to join DEV. We have 900k+ developers reading, posting, and enjoying community, and would love to have you. ย  Create an account and continue your coding journey.