This project is used to generate the CachyOS root filesystem for WSL.
-
Add a registry key:
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Lxss" /v DistributionListUrlAppend /t REG_SZ /d "https://github.com/okrc/CachyOS-WSL/releases/latest/download/DistributionInfo.json" /f
New-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Lxss -Name DistributionListUrlAppend -Force -Type String -Value https://github.com/okrc/CachyOS-WSL/releases/latest/download/DistributionInfo.json
-
List available WSL distributions:
wsl -l -o
-
Install CachyOS:
wsl --install CachyOS
CachyOS customizes shell theme packages cachyos-fish-config
and cachyos-zsh-config
. You can choose your preferred shell, either fish or zsh.
-
To install fish configuration:
sudo pacman -Sy --needed --noconfirm cachyos-fish-config mkdir -p ~/.config/fish cp /etc/skel/.config/fish/config.fish ~/.config/fish/config.fish
-
To install zsh configuration:
sudo pacman -Sy --needed --noconfirm cachyos-zsh-config cp /etc/skel/.zshrc ~/