Enable sudoers: nano /etc/sudoers and uncomment lines %wheel ALL=(ALL) NOPASSWD: ALL and %sudo ALL=(ALL) ALL.Run pacman -Syyu to update all packages to the latest versions.
Add custom pacman repository with additional packages: nano /etc/nf Then add following to the bottom:.Download ArchWSL installer zip, pick a folder (for example, c:\archlinux) for Arch Linux and run installer.run wsl -set-default-version 2 in windows command line, so that all future WSL machine will use WSL2.It is not supported anymore, so use thise information at your own risk. This document was created back in 2020 and might not be actual nowadays. Migrating from Ubuntu on WSL to ArchLinux on WSL2 Obsolete notice