wsl vim code example
Example 1: wsl version
wsl --list --verbose
wsl --set-version <distribution name> <versionNumber>
Example 2: install vim in wsl
sudo apt install ncurses-dev libncurses5-dev libgnome2-dev libgnomeui-dev libgtk2.0-dev libatk1.0-dev libbonoboui2-dev libcairo2-dev libx11-dev libxpm-dev libxt-dev python-dev python3-dev ruby-dev lua5.1 lua5.1-dev libperl-dev