DEV Community

Alex M
Alex M

Posted on

2

Enable WSL shell in GitHub Desktop

Even though WSL shell support has been added to GitHub Desktop as far back as in 2019, the actual option is still missing from the shell list.

There are two ways to enable it:

1) Use GitHub Desktop Beta.

2) If you are using a stable version, you need to enable preview features. Set GITHUB_DESKTOP_PREVIEW_FEATURES environment variable to 1. You can do this in Windows PowerShell:

[Environment]::SetEnvironmentVariable("GITHUB_DESKTOP_PREVIEW_FEATURES", "1", "User")
Enter fullscreen mode Exit fullscreen mode

Restart GitHub Desktop and you should now see WSL in the shell list.

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay