Windows Terminal + WSL Memo#
This is a memo for myself regarding the use of Windows Terminal + WSL.
What you can achieve with WSL + Terminal#
Instant access to the Linux command line environment.
Neovim and tmux screens are displayed beautifully with support for TrueColor and Nerd Font.
File operations between Windows ↔ Linux are smooth.
Work comfortably by using split panes and tabs.
Installing Windows Terminal#
Install from microsoft store
Installing WSL#
wsl --install
Where to find the configuration file and how to edit it#
Display the GUI settings screen with Ctrl + , and click “Open settings file” in the upper right
Edit JSON configuration files directly with Ctrl + Shift,
Note
Starting directory is %USERPROFILE%
File access between Windows ↔ Linux#
If you want to manipulate files saved in WSL from the Windows side, the following path is useful:
operation |
explanation |
|---|---|
Windows → WSL |
Open \wsl$Ubuntuhome<user> in Explorer |
WSL → Windows |
/mnt/c/Users/<username>/ allows access to Windows files |
Keyboard shortcuts (default)#
Windows Terminal shortcuts have many useful operations that can improve your work efficiency. In particular, splitting and moving panes is useful for managing multiple sessions when working remotely.
operation |
key |
|---|---|
open new tab |
Ctrl + Shift + T |
split pane horizontally |
Alt + Shift + - |
Split pane vertically |
Alt + Shift + + |
Moving between panes |
Alt + ← / → / ↑ / ↓ |
Adjust pane size |
Ctrl + Shift + ← / → / ↑ / ↓ |
Split panes allow you to handle multiple SSH connections, check logs, etc. in parallel within a single terminal window, improving the efficiency of shell work.
summary#
I think Windows Terminal + WSL is sufficient for now.
Article information
- Post date:
2025-05-09
- author:
Mr. Takagi