Table of Contents
Install the official Arch Linux image with wsl --install -d archlinux from PowerShell. Arch requires WSL 2. If the command can’t find the distribution, update WSL and check the online list before troubleshooting inside Linux.
1. Set up WSL 2
If WSL is new to this computer, open Windows Terminal as administrator and run:
wsl --install --no-distribution
Restart Windows if asked. If WSL is already installed, start with wsl --update. Then use wsl --list --online to check the distribution name.

2. Install and launch Arch Linux
In PowerShell, run:
wsl --set-default-version 2
wsl --install -d archlinux
wsl --list --verbose
wsl -d archlinux
In the list of installed distributions, look for archlinux with VERSION 2. If installation opens an Arch shell automatically, you can run the verification commands from a separate PowerShell window.

3. Check your user and update Arch
Run whoami in the Arch shell. If it returns root, update with pacman -Syu. If you’re signed in as a regular user with sudo configured, run sudo pacman -Syu. This synchronizes the package database and updates installed packages together. The ArchWiki instructions also cover creating and setting a regular default user.
If Arch won’t install or start
- Virtualization error: Check that hardware virtualization is enabled and that WSL 2 works on your PC.
- Distribution missing: Run
wsl --updateandwsl --list --onlineagain. Check the ArchWiki for the supported image architecture. - Service or hardware issue: WSL 2 can run systemd on supported versions, and access to hardware is different from a native Arch installation. Check what your workload requires before troubleshooting the distribution itself.
For other WSL commands, see Microsoft’s command reference. If you’re deciding whether WSL fits your workflow, see what Windows Subsystem for Linux is useful for.
Reader Comments 0
Sign in with email or Google to join the discussion.