Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 1.04 KB

WSL2.md

File metadata and controls

25 lines (19 loc) · 1.04 KB

WSL2 on Windows 10 or 11

Install WSL2 and Docker

Install Stonehenge in PowerShell

wsl sh -c "sudo apt update && sudo apt upgrade && sudo apt install build-essential"
wsl git clone -b 5.x https://github.com/druidfi/stonehenge.git ~/stonehenge
wsl make -s -C ~/stonehenge up
$WSL_NAME = $(wsl sh -c 'echo $WSL_DISTRO_NAME')
$WSL_USER = $(wsl whoami)
Import-Certificate -Filepath \\wsl$\$WSL_NAME\home\$WSL_USER\stonehenge\certs\rootCA.pem -CertStoreLocation cert:\CurrentUser\Root

Oneliner with PowerShell (beta):

iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/druidfi/stonehenge/5.x/install.ps1'))