On Windows, by default, the only font that can display Japanese language on command-line tools is MS Gothic, which is very hard to look. Here is how to add your favourite font for command-line tools.
Steps
This procedure applies for Windows 10. It works for Command Prompt, WSL distro's terminal and PowerShell.
- Install a monospace font you'd like to use on consoles
- Open run box by Windows key + R, type
regedit
- Navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Console\TrueTypeFont
- On right side panel, right click -> New -> String Value
- Type unique value like '000' or '932.1', etc.
- Click OK and restart system
- Open Command Prompt (or start WSL distro), right click on title bar and choose Properties
- In the Font tab, the font you registered should appear in the fonts list
Some fonts are not supported
The font name wouldn't appear if it's not supported by the console usage for some reason. I failed with Noto Sans Mono CJK JP but succeeded with Ricty Diminished. Make sure to use a monospace font.