1. Windows Terminal のインストール

WSL には Windows Terminal を使用すると便利です。そのため、Windows Terminal のインストールを行います。

1.1. Microsoft Storeからインストール

  1. Windows の 検索 に Microsoft Store と 入力し Microsoft Store を起動します。

image.png

  1. Microsoft Store の 検索に Windows Terminalと入力します。

image.png

  1. Windows Terminal をインストールします。

1.2. GitHubからインストール

  1. Microsoft Terminal の GitHibサイトにアクセスします。 https://github.com/microsoft/terminal/releases external_link

  2. Asset セクションから Microsoft.WindowsTerminal_.msixbundle をダウンロードします。

image.png

  1. ダウンロードしたファイルをダブルクリックしてインストールを行います。

1.3. wingetでインストール

PowerShell、コマンドプロンプトに以下を入力しインストールを行う。

winget install --id=Microsoft.WindowsTerminal -e

2. Windows Terminal の設定

Windows Terminal の 設定を行います。

2.1. 表示フォントの設定

  1. Windows Terminal を起動して下矢印をクリックします。

image.png

  1. 設定をクリックして設定画面を表示します。

image.png

  1. 歯車アイコンをクリックします。

image.png

  1. profilesdefaults にフォント設定を追加します。

image.png

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" } },