wsl-configs¶
wsl-configs – a repository containing a curated collection of configuration files for Windows Subsystem for Linux (WSL).
Main configurations¶
.wslconfig¶
.wslconfig – a fully documented global WSL 2 configuration file.
Copy the configuration to :
Where <UserName> is a Windows username.
Make configuration changes and shut down WSL:
And start it again. After this, the configuration will be applied.
Info
More information about the configuration is available in the reference section .wslconfig.
wsl.conf¶
wsl.conf – a fully documented per-instance configuration file used by both WSL 1 and WSL 2 instances.
Copy the configuration to:
Make configuration changes and shutdown an instance:
And start it again. After this, the configuration will be applied.
Info
More information about the configuration is available in the reference section wsl.conf.
wsl-distribution.conf¶
wsl-distribution.conf – a fully documented per-distribution configuration file used during installation and except OOBE script during import of the distribution.
Info
More information about the configuration is available on the reference page wsl-distribution.conf.
Additional configurations¶
distributions.json¶
distributions.json – an unofficial, ready-to-use list of additional WSL distributions consists of:
| Distribution | Architecture |
|---|---|
| NixOS 25.05 | amd64 |
| Rocky Linux 9.7 | amd64, arm64 |
| Rocky Linux 10.1 | amd64, arm64 |
| Ubuntu 25.04 | amd64, arm64 |
| Ubuntu 25.10 | amd64, arm64 |
| Ubuntu 26.04 Snapshot 1 | amd64, arm64 |
The file can be downloaded and connected locally using commands (run as administrator):
Info
Change file:///path/to/distributions.json to real file path.
Or from the repository using commands (run as administrator):
After adding the manifest, additional distributions will appear in the list of available distributions.
To remove an additional list, use the following commands (run as administrator):