動作環境
PowerShell
$ wsl --list --verbose
NAME STATE VERSION
* centos8 Running 2
CentOS
$ cat /etc/redhat-release
CentOS Linux release 8.2.2004 (Core)
参考サイト
- Windows 10 用 Windows Subsystem for Linux のインストール ガイド
- Windows Subsystem for Linux で Visual Studio Code の使用を開始する
VScodeの設定
1.WindowsにVScodeをインストール。
2.VScodeに『Remote Development』をインストール。

CentOSの設定
CentOS
$ sudo yum update
$ sudo yum install wget