1. Windows Terminal のインストール
WSL には Windows Terminal を使用すると便利です。そのため、Windows Terminal のインストールを行います。
1.1. Microsoft Storeからインストール
- Windows の 検索 に
Microsoft Store
と 入力し Microsoft Store を起動します。
- Microsoft Store の 検索に
Windows Terminal
と入力します。
- Windows Terminal をインストールします。
1.2. GitHubからインストール
-
Microsoft Terminal の GitHibサイトにアクセスします。 https://github.com/microsoft/terminal/releases external_link
-
Asset セクションから Microsoft.WindowsTerminal_.msixbundle をダウンロードします。
- ダウンロードしたファイルをダブルクリックしてインストールを行います。
1.3. wingetでインストール
PowerShell、コマンドプロンプトに以下を入力しインストールを行う。
winget install --id=Microsoft.WindowsTerminal -e
2. Windows Terminal の設定
Windows Terminal の 設定を行います。
2.1. 表示フォントの設定
- Windows Terminal を起動して
下矢印
をクリックします。
設定
をクリックして設定画面を表示します。
歯車アイコン
をクリックします。
profiles
のdefaults
にフォント設定を追加します。
MSゴシックを設定する場合は、以下を追加します。
"profiles": { "defaults": { // Put settings here that you want to apply to all profiles. "font": { "face": "\uff2d\uff33 \u30b4\u30b7\u30c3\u30af" } },
Myrica Mを設定する場合は、以下を追加します。
"profiles": { "defaults": { "font": { "face": "Myrica M" } },