Last active
February 5, 2023 06:28
-
-
Save minpeter/315b1a7c5819993a6980dd2142065baf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## without scoop | |
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart | |
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart | |
wsl --set-default-version 2 | |
Invoke-WebRequest -URI https://github.com/yuk7/ArchWSL/releases/download/22.10.16.0/ArchWSL_Online-AppX_22.10.16.0_x64.cer -OutFile arch.cer | |
Invoke-WebRequest -URI https://github.com/yuk7/ArchWSL/releases/download/22.10.16.0/ArchWSL_Online-AppX_22.10.16.0_x64.appx -OutFile arch.appx | |
Import-Certificate -FilePath .\arch.cer -CertStoreLocation Cert:\LocalMachine\TrustedPeople | |
Add-AppxPackage -Path .\arch.appx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wsl --install | |
//원도우 재시작 필요 | |
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser # Optional: Needed to run a remote script the first time | |
irm get.scoop.sh | iex | |
winget install git.git | |
//쉘 재시작 필요 | |
scoop bucket add extras | |
scoop install archwsl | |
winget uninstall -e --id Canonical.Ubuntu | |
arch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## setup script for dev laptop!! | |
- wsl2 arch | |
- vscode | |
- docker | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment