Open PowerShell
and type wsl --install
Navigate to \\wsl$
Download Windows Terminal
from the Microsoft Store.
- Press
Ctl+,
to open Settings. - In the bottom left, click
Open JSON file
. - In the
actions
section, add the following object:
{
"command": "unbound",
"keys": "alt+space"
}
In Zsh, you may get a message like:
manpath: can't set the locale; make sure $LC_* and $LANG are correct
If so, run
sudo locale-gen "en_US.UTF-8"
sudo dpkg-reconfigure locales
Then run exec zsh
to test that it worked.