Skip to content

DevelopersCommunity/archlinux-wsl

Repository files navigation

Custom Arch Linux distribution for WSL

This is an automated script to create an Arch Linux WSL modern distribution.

You can download a pre-built version from the releases page. Get the .wsl file and double-click it in File Explorer to install the distribution.

Requirements

You need WSL release 2.4.4 or higher to use this installation method. To install a pre-release version of WSL, run the following command:

wsl --update --pre-release

To build the distribution, you need the following tools:

Build

Before building, create a .env file with your Docker credentials:

DOCKER_HUB_USERNAME=<your docker user name>
DOCKER_HUB_PAT=<your docker account personal access token>

Then run the build script to create the archlinux.wsl file.

Windows Terminal profile

The build process creates a custom profile for the Windows Terminal. The color scheme is a Material Design dynamically generated color scheme based on the Arch Linux logo blue color. The script to generate the profile is available in the terminal-profile directory.

Arch Linux trademark

The logo used in this distribution was taken from the Arch Linux logos and artwork page, and I believe its usage in this project fits the permitted use condition from their trademark policy.